Skip to content

Commit 90d0291

Browse files
committed
[fix] : FIxed script status
1 parent 84e77c3 commit 90d0291

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

shellcheck.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#!/usr/bin/env bash
22

3+
set -eu
4+
35
script_path="$( cd -P "$( dirname "$(readlink -f "$0")" )" && pwd )"
46
cd "${script_path}"
57

6-
/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'
79
bash -c 'shopt -s globstar nullglob; shellcheck -s bash --exclude=SC2068 -S error ./shellcheck.sh'

0 commit comments

Comments
 (0)