Fix enabling of init scripts.
authorlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Sep 2008 00:23:59 +0000 (00:23 +0000)
committerlars <lars@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 2 Sep 2008 00:23:59 +0000 (00:23 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73

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
This page took 0.024348 seconds and 4 git commands to generate.