diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-22 11:57:42 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-22 11:57:42 +1200 |
commit | b242a641c5864d901761b3d7263332e98d894e16 (patch) | |
tree | 62c9d8cf9be99a894c088414a36664af7e37f859 | |
parent | Remove double-up import of completions (diff) | |
download | dotfiles-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-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |