From 554587c78c460b0401b84bba62db40866dbe42c1 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 20 Aug 2016 00:10:32 +1200 Subject: Use terser shell for executable installs --- Makefile | 4 ++-- 1 file 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 -- cgit v1.2.3