From d090ba8038ad555657680041f75723dd2a4090b8 Mon Sep 17 00:00:00 2001 From: dman776 Date: Wed, 2 May 2018 22:16:03 -0500 Subject: [PATCH] fix prebuild shellcheck tests to run properly with external sources (#5) --- scripts/tests/prebuild/002-usrlocalbin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tests/prebuild/002-usrlocalbin.sh b/scripts/tests/prebuild/002-usrlocalbin.sh index 57d9ed31..3a1767b4 100755 --- a/scripts/tests/prebuild/002-usrlocalbin.sh +++ b/scripts/tests/prebuild/002-usrlocalbin.sh @@ -71,7 +71,7 @@ do if [ "$SHELLCHECKNOTEXISTS" = "1" ]; then juLog -name="usrlocalbin_$(basename "$file")" false # Consider test failed if we don't have shellcheck else - juLog -name="usrlocalbin_$(basename "$file")" shellcheck "$file" + juLog -name="usrlocalbin_$(basename "$file")" shellcheck -x "$file" fi continue # Next file please fi