From 2118cc3679c8cad1c06cacb435fe7887a27e2747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Sun, 3 Mar 2024 16:50:10 +0100 Subject: [PATCH] Flatten shellcheck invocation --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 77fb2ff..a631ef9 100644 --- a/Makefile +++ b/Makefile @@ -77,7 +77,7 @@ endif all : build locales manpages htmlpages shellcheck i-t init.d-systemd dracut shellcheck : i-t dracut - find $(OUTDIR)initramfs-tools/ $(OUTDIR)dracut/ init.d/ -name '*.sh' -exec echo $(SHELLCHECK) --exclude SC1091,SC2093 {} + | sh -x + $(SHELLCHECK) --exclude SC1091,SC2093 $(foreach l,$(OUTDIR)initramfs-tools/ $(OUTDIR)dracut/ init.d/,$(wildcard $(l)*.sh $(l)**/*.sh $(l)**/**/*.sh $(l)**/**/**/*.sh $(l)**/**/**/**/*.sh $(l)**/**/**/**/**/*.sh $(l)**/**/**/**/**/**/*.sh $(l)**/**/**/**/**/**/**/*.sh $(l)**/**/**/**/**/**/**/**/*.sh)) clean : rm -rf $(OUTDIR)