X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=82019a71f319cf51b80f9f6ba542686572106949;hb=c6fa5b9b1a99cfd42fd9aa2c2ce465321f7845af;hp=6e0dc8dc3fb47825c0e229ca23adc7ad439b209b;hpb=cf233a10facfa3c4b78b2c01edb51449d73c4a1c;p=grml-scripts.git diff --git a/Makefile b/Makefile index 6e0dc8d..82019a7 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 usr_bin/* usr_sbin/* usr_share/*; do head -1 "$${shellfile}" | grep -q "/bin/bash\|/bin/sh" && shellcheck -x "$${shellfile}"; done .ONESHELL: pythoncheck: ## Run shellcheck