]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Makefile: do not dash syntax check module-setup.sh
authorHarald Hoyer <harald@redhat.com>
Fri, 18 Feb 2011 12:11:53 +0000 (13:11 +0100)
committerHarald Hoyer <harald@redhat.com>
Fri, 18 Feb 2011 12:11:53 +0000 (13:11 +0100)
module-setup.sh is bash syntax, so dash complains about bash contructs

Makefile

index 9dbe9816fa3ff752dbff49f1b21fafc692e561ba..ab69c16e8d2e90452a125624197d0b2abbce0a1c 100644 (file)
--- 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