From b242a641c5864d901761b3d7263332e98d894e16 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 22 Aug 2016 11:57:42 +1200 Subject: Restore non-exec skipping in Makefile targets Because if the last they try to install is non-executable, the target exits with failure... --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 0c57d423..95d62f21 100644 --- a/Makefile +++ b/Makefile @@ -153,7 +153,7 @@ install-bash-completion : install-bash install-bin : bin/sd2u bin/su2d bin/unf check-bin install-bin-man install -m 0755 -d -- "$(HOME)"/.local/bin for name in bin/* ; do \ - [ -x "$$name" ] && \ + [ -x "$$name" ] || continue ; \ install -m 0755 -- "$$name" "$(HOME)"/.local/bin ; \ done @@ -183,7 +183,7 @@ install-finger : install-games : games/acq games/kvlt games/zs check-games install-games-man install -m 0755 -d -- "$(HOME)"/.local/games for name in games/* ; do \ - [ -x "$$name" ] && \ + [ -x "$$name" ] || continue ; \ install -m 0755 -- "$$name" "$(HOME)"/.local/games ; \ done -- cgit v1.2.3