Prepend source directory to script names, and include source directory in shellcheck search path. Fixes: ddfdcc3929aef ("Add initial shellcheck checking") Signed-off-by: Nicholas Piggin <npiggin@xxxxxxxxx> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6240d8dfa..b0f7ad08b 100644 --- a/Makefile +++ b/Makefile @@ -143,7 +143,7 @@ cscope: .PHONY: shellcheck shellcheck: - shellcheck -a run_tests.sh */run */efi/run scripts/mkstandalone.sh + shellcheck -P $(SRCDIR) -a $(SRCDIR)/run_tests.sh $(SRCDIR)/*/run $(SRCDIR)/*/efi/run $(SRCDIR)/scripts/mkstandalone.sh .PHONY: tags tags: -- 2.43.0