X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=blobdiff_plain;f=Makefile;fp=Makefile;h=3f0386756d8a67677243bb0c51617eb25337d629;hp=ac667b16503a927197c0af0dc59846cdd03b7ca9;hb=584376f90a575f0788beb80c02061ff008f2097e;hpb=01aaae6aef011366e62b07730a60e8e382590669 diff --git a/Makefile b/Makefile index ac667b1..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 $$(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 + 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