We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84e77c3 commit 90d0291Copy full SHA for 90d0291
shellcheck.sh
@@ -1,7 +1,9 @@
1
#!/usr/bin/env bash
2
3
+set -eu
4
+
5
script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )"
6
cd "${script_path}"
7
-/usr/bin/ls | grep -E 'alterlinux-*' | xargs -Ifile bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./file/file'
8
+ls | grep -E 'alterlinux-*' | xargs -Ifile bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./file/file'
9
bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./shellcheck.sh'
0 commit comments