aboutsummaryrefslogtreecommitdiff
path: root/check/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-16 18:41:26 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-16 18:41:26 +1200
commit9cf20b35e1f7cf362590fc7351f7494fccaa3848 (patch)
tree96f04af7a75cdf842840cbabf40639e6620a298b /check/bin
parentAdd self var to rndl(1) (diff)
downloaddotfiles-9cf20b35e1f7cf362590fc7351f7494fccaa3848.tar.gz
dotfiles-9cf20b35e1f7cf362590fc7351f7494fccaa3848.zip
Check for executability before sh -n
Diffstat (limited to 'check/bin')
-rwxr-xr-xcheck/bin2
1 files changed, 1 insertions, 1 deletions
diff --git a/check/bin b/check/bin
index a4d5e452..2fc4e767 100755
--- a/check/bin
+++ b/check/bin
@@ -1,6 +1,6 @@
#!/bin/sh
for bin in bin/* ; do
- [ -f "$bin" ] || continue
+ [ -x "$bin" ] || continue
hb=$(sed 1q "$bin") || exit
case $hb in
*bash)