mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03: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
@ -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 New Issue
Block a user