From: Harald Hoyer Date: Fri, 18 Feb 2011 12:11:53 +0000 (+0100) Subject: Makefile: do not dash syntax check module-setup.sh X-Git-Tag: 009~117 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=440a4cc2475ff9ed1fc7b52b965dded8a36c9a2d;p=thirdparty%2Fdracut.git Makefile: do not dash syntax check module-setup.sh module-setup.sh is bash syntax, so dash complains about bash contructs --- diff --git a/Makefile b/Makefile index 9dbe9816f..ab69c16e8 100644 --- a/Makefile +++ b/Makefile @@ -95,6 +95,7 @@ gitrpm: dracut-$(VERSION)-$(GITVERSION).tar.bz2 check: all @ret=0;for i in modules.d/99base/init modules.d/*/*.sh; do \ + [ "$${i##*/}" = "module-setup.sh" ] && continue; \ dash -n "$$i" ; ret=$$(($$ret+$$?)); \ done;exit $$ret $(MAKE) -C test check