mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:14:58 +00:00
Meta: Allow shellcheck to search sourced files in the script directory
This commit is contained in:
parent
032ef1b461
commit
9d6c4c5137
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if (( ${#files[@]} )); then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
shellcheck "${files[@]}"
|
shellcheck --source-path=SCRIPTDIR "${files[@]}"
|
||||||
|
|
||||||
for file in "${files[@]}"; do
|
for file in "${files[@]}"; do
|
||||||
if (< "$file" grep -qE "grep [^|);]*-[^- ]*P"); then
|
if (< "$file" grep -qE "grep [^|);]*-[^- ]*P"); then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue