X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;h=ac667b16503a927197c0af0dc59846cdd03b7ca9;hb=2980f79718344ea7bbb6093beb9b6bac49b5566d;hp=6e0dc8dc3fb47825c0e229ca23adc7ad439b209b;hpb=cb8ed979c962c8f81b6ffe4334ae792aad256423;p=grml-scripts.git diff --git a/Makefile b/Makefile index 6e0dc8d..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 "$${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