X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=ac667b16503a927197c0af0dc59846cdd03b7ca9;hb=e41ddb1a1f5abf996258b83ed5f1d12d0ee88da7;hp=82019a71f319cf51b80f9f6ba542686572106949;hpb=4771fd182a04f38e6ca37c22c3dda04eedb4d8e1;p=grml-scripts.git diff --git a/Makefile b/Makefile index 82019a7..ac667b1 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 -x "$${shellfile}"; done + for shellfile in $$(ls usr_bin/* usr_sbin/* usr_share/* | grep -v "iimage"); do head -1 "$${shellfile}" | grep -q "/bin/bash\|/bin/sh" && shellcheck -e SC1117 -x "$${shellfile}"; done .ONESHELL: pythoncheck: ## Run shellcheck