From a18a20c94833cd0892b181dfe864773a4626b232 Mon Sep 17 00:00:00 2001 From: ng0 Date: Sat, 9 Mar 2019 10:40:57 +0000 Subject: Bundle my copy of checkbashism for self-contained linting --- lint/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lint/Makefile.am') diff --git a/lint/Makefile.am b/lint/Makefile.am index 093884214..834f1c467 100644 --- a/lint/Makefile.am +++ b/lint/Makefile.am @@ -5,7 +5,7 @@ all: check-linters check-bashism: printf "Run checkbashism on all .sh files.\n" printf "Currently this expects checkbashism.pl at a fixed location." - find . -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 ~/src/scripts/src/checkbashisms.pl -f 2>&1 | tee $(top_srcdir)/bashism.log || true + find '..' -type f ! -path '*/.*' ! -path '*/_*' -name '*.sh' -print0 | xargs -0 $(srcdir)/checkbashisms.pl -f 2>&1 | tee $(srcdir)/bashism.log || true check-python: printf "Running flake8 and 2to3 if detected.\n" -- cgit v1.2.3