diff --git a/Meta/lint-shell-scripts.sh b/Meta/lint-shell-scripts.sh index b7e17e5d6f..b0fe08638f 100755 --- a/Meta/lint-shell-scripts.sh +++ b/Meta/lint-shell-scripts.sh @@ -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