aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-22 11:57:42 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-22 11:57:42 +1200
commitb242a641c5864d901761b3d7263332e98d894e16 (patch)
tree62c9d8cf9be99a894c088414a36664af7e37f859
parent705432dba485f734fe7d201a6088561bed983e35 (diff)
downloaddotfiles-b242a641c5864d901761b3d7263332e98d894e16.tar.gz
dotfiles-b242a641c5864d901761b3d7263332e98d894e16.zip
Restore non-exec skipping in Makefile targets
Because if the last they try to install is non-executable, the target exits with failure...
-rw-r--r--Makefile4
1 files 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