mirror of
https://github.com/bol-van/zapret.git
synced 2025-04-23 07:22:57 +03:00
Makefile: chmod -x in case permissions are damaged
This commit is contained in:
parent
7caa11d19c
commit
2c2f4e03dc
3
Makefile
3
Makefile
@ -4,7 +4,8 @@ TGT := binaries/my
|
|||||||
all: clean
|
all: clean
|
||||||
mkdir -p "$(@D)/$(TGT)"; \
|
mkdir -p "$(@D)/$(TGT)"; \
|
||||||
for dir in $(DIRS); do \
|
for dir in $(DIRS); do \
|
||||||
$(MAKE) -C "$(@D)/$$dir" || exit 1; \
|
chmod -x "$(@D)/$$dir/"*; \
|
||||||
|
$(MAKE) -C "$(@D)/$$dir" || exit; \
|
||||||
done ; \
|
done ; \
|
||||||
for exe in $$(find ${DIRS} -type f -executable); do \
|
for exe in $$(find ${DIRS} -type f -executable); do \
|
||||||
mv -f "$(@D)/$$exe" "$(@D)/${TGT}" ; \
|
mv -f "$(@D)/$$exe" "$(@D)/${TGT}" ; \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user