aboutsummaryrefslogtreecommitdiff
path: root/shellcheck.sh
diff options
context:
space:
mode:
authorGuillermo Ramos2022-12-03 23:52:23 +0100
committerGuillermo Ramos2022-12-03 23:52:23 +0100
commitf6dc4d8ab8d213c95fe0ac8c445fa19390eb7a38 (patch)
treeac1d36fea9914bfdb3d0dcd045fdcc4a86f57cc4 /shellcheck.sh
parentc466e4676388f4467602e32251a6afb3f2a6c72b (diff)
downloadcli-f6dc4d8ab8d213c95fe0ac8c445fa19390eb7a38.tar.gz
Fix shellcheck.sh for OpenBSD
Diffstat (limited to 'shellcheck.sh')
-rwxr-xr-xshellcheck.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/shellcheck.sh b/shellcheck.sh
index 7c8dc6e..89bef45 100755
--- a/shellcheck.sh
+++ b/shellcheck.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-find "$(dirname "$0")" -maxdepth 1 -type f -executable -exec \
+find "$(dirname "$0")" -maxdepth 1 -type f -perm -100 -exec \
sh -c '
if head -n1 "$1" | egrep -q "sh$"; then
echo "====== CHECKING $1 ======";