mirror of
https://github.com/0intro/wmii
synced 2025-01-08 11:22:23 +03:00
Fix failed MKDIR when $(DESTDIR) is set.
This commit is contained in:
parent
6b0d71843b
commit
ee53d79fa8
@ -70,7 +70,7 @@ all:
|
||||
INSTALL= _install() { set -e; \
|
||||
dashb=$$1; [ $$1 = -b ] && shift; \
|
||||
d=$$(dirname $$3); \
|
||||
if [ ! -d $$d ]; then echo MKDIR $$d; mkdir -p $(DESTDIR)$$d; fi; \
|
||||
if [ ! -d $(DESTDIR)$$d ]; then echo MKDIR $$d; mkdir -p $(DESTDIR)$$d; fi; \
|
||||
echo INSTALL $$($(CLEANNAME) $(BASE)$$2); \
|
||||
if [ "$$dashb" = -b ]; \
|
||||
then cp -f $$2 $(DESTDIR)$$3; \
|
||||
|
Loading…
Reference in New Issue
Block a user