Makefile : inclusion du mode dans la commande mkdir

This commit is contained in:
Ahurac 2024-03-27 12:57:35 +01:00
parent 801939096d
commit 35fc4420e7

View file

@ -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 -- $^ $@