Makefile : inclusion du mode dans la commande mkdir
This commit is contained in:
parent
801939096d
commit
35fc4420e7
1 changed files with 1 additions and 2 deletions
3
Makefile
3
Makefile
|
@ -29,8 +29,7 @@ QEMUSH_DIRS := $(addprefix $(DST_HOME)/,bin launchers disks sockets/monitors soc
|
||||||
install: $(QEMUSH_DIRS) $(DST_MODULES) $(DST_BIN) $(DST_LAUNCHERS)
|
install: $(QEMUSH_DIRS) $(DST_MODULES) $(DST_BIN) $(DST_LAUNCHERS)
|
||||||
|
|
||||||
$(QEMUSH_DIRS):
|
$(QEMUSH_DIRS):
|
||||||
sudo -u $(QEMU_USER) mkdir -p -- $@
|
sudo -u $(QEMU_USER) mkdir -m 750 -p -- $@
|
||||||
sudo -u $(QEMU_USER) chmod -- 750 $@
|
|
||||||
|
|
||||||
$(DST_BIN): $(SRC_BIN)
|
$(DST_BIN): $(SRC_BIN)
|
||||||
sudo install -m 755 -- $^ $@
|
sudo install -m 755 -- $^ $@
|
||||||
|
|
Loading…
Reference in a new issue