From 2c2f4e03dc3242e33d338ee94a47aa1f9d474eb7 Mon Sep 17 00:00:00 2001 From: bolvan Date: Thu, 23 May 2019 08:45:01 +0300 Subject: [PATCH] Makefile: chmod -x in case permissions are damaged --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 39596b1..2a70245 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,8 @@ TGT := binaries/my all: clean mkdir -p "$(@D)/$(TGT)"; \ for dir in $(DIRS); do \ - $(MAKE) -C "$(@D)/$$dir" || exit 1; \ + chmod -x "$(@D)/$$dir/"*; \ + $(MAKE) -C "$(@D)/$$dir" || exit; \ done ; \ for exe in $$(find ${DIRS} -type f -executable); do \ mv -f "$(@D)/$$exe" "$(@D)/${TGT}" ; \