From: Lars-Peter Clausen Date: Tue, 2 Sep 2008 00:23:59 +0000 (+0000) Subject: Fix enabling of init scripts. X-Git-Tag: reboot~25654 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=fbdb8046c27dcec1988f04c2e227015159735b68;p=openwrt%2Fstaging%2Fjogo.git Fix enabling of init scripts. SVN-Revision: 12482 --- diff --git a/package/Makefile b/package/Makefile index 2a3354cf0a..e9bed9b6cc 100644 --- a/package/Makefile +++ b/package/Makefile @@ -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