aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-20 00:10:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-20 00:10:32 +1200
commit554587c78c460b0401b84bba62db40866dbe42c1 (patch)
treeb1434772b1c677df9164d3928d3870dfa55c0224 /Makefile
parentMove OLDPWD setting to POSIX sh dir (diff)
downloaddotfiles-554587c78c460b0401b84bba62db40866dbe42c1.tar.gz
dotfiles-554587c78c460b0401b84bba62db40866dbe42c1.zip
Use terser shell for executable installs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 433a9f43..4d35779f 100644
--- a/Makefile
+++ b/Makefile
@@ -157,7 +157,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" ] || continue ; \
+ [ -x "$$name" ] && \
install -m 0755 -- "$$name" "$(HOME)"/.local/bin ; \
done
@@ -187,7 +187,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" ] || continue ; \
+ [ -x "$$name" ] && \
install -m 0755 -- "$$name" "$(HOME)"/.local/games ; \
done