From: Darshaka Pathirana Date: Fri, 5 Mar 2021 16:35:58 +0000 (+0100) Subject: Makefile: Do not shellcheck make_chroot_jail X-Git-Tag: v2.11.0~1^2~7 X-Git-Url: http://git.grml.org/?p=grml-scripts.git;a=commitdiff_plain;h=584376f90a575f0788beb80c02061ff008f2097e Makefile: Do not shellcheck make_chroot_jail make_chroot_jail is not developed by the Grml-Team but causes a lot of shellcheck warnings. --- 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