Fix enabling of init scripts.
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 2 Sep 2008 00:23:59 +0000 (00:23 +0000)
committerLars-Peter Clausen <lars@metafoo.de>
Tue, 2 Sep 2008 00:23:59 +0000 (00:23 +0000)
SVN-Revision: 12482

package/Makefile

index 2a3354c..e9bed9b 100644 (file)
@@ -36,7 +36,7 @@ $(curdir)/rootfs-prepare: $(TMP_DIR)/.build
                cd $(TARGET_DIR); \
                for script in ./etc/init.d/*; do \
                        grep '#!/bin/sh /etc/rc.common' $$script >/dev/null || continue; \
-                       IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \
+                       IPKG_INSTROOT=$(TARGET_DIR) $$(which bash) ./etc/rc.common $$script enable; \
                done || true \
        )
        @-find $(TARGET_DIR) -name CVS   | $(XARGS) rm -rf