X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=3f0386756d8a67677243bb0c51617eb25337d629;hb=c766750061a46a42f80ce2b78a8b5b0784767d6d;hp=6e0dc8dc3fb47825c0e229ca23adc7ad439b209b;hpb=cb8ed979c962c8f81b6ffe4334ae792aad256423;p=grml-scripts.git diff --git a/Makefile b/Makefile index 6e0dc8d..3f03867 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ all: codecheck spellcheck ## Run codecheck and spellcheck codecheck: shellcheck pythoncheck ## Run shellcheck and pythoncheck shellcheck: ## Run shellcheck - for shellfile in usr_bin/* usr_sbin/* usr_share/*; do head -1 "$${shellfile}" | grep -q "/bin/bash\|/bin/sh" && shellcheck "$${shellfile}"; done + for shellfile in $$(ls usr_bin/* usr_sbin/* usr_share/* | grep -v "iimage" | grep -v "make_chroot_jail"); do head -1 "$${shellfile}" | grep -q "/bin/bash\|/bin/sh" && shellcheck -e SC1117 -x "$${shellfile}"; done .ONESHELL: pythoncheck: ## Run shellcheck