mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
Meta: Allow shellcheck to search sourced files in the script directory
This commit is contained in:
parent
032ef1b461
commit
9d6c4c5137
Notes:
sideshowbarker
2024-07-17 05:40:20 +09:00
Author: https://github.com/timschumi Commit: https://github.com/SerenityOS/serenity/commit/9d6c4c5137 Pull-request: https://github.com/SerenityOS/serenity/pull/15645 Reviewed-by: https://github.com/linusg ✅ Reviewed-by: https://github.com/nico
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if (( ${#files[@]} )); then
|
|||
exit 1
|
||||
fi
|
||||
|
||||
shellcheck "${files[@]}"
|
||||
shellcheck --source-path=SCRIPTDIR "${files[@]}"
|
||||
|
||||
for file in "${files[@]}"; do
|
||||
if (< "$file" grep -qE "grep [^|);]*-[^- ]*P"); then
|
||||
|
|
Loading…
Reference in a new issue