From 5ea5da8a9841cd9730607a4a4194654cc9625d24 Mon Sep 17 00:00:00 2001 From: lars Date: Tue, 2 Sep 2008 00:23:59 +0000 Subject: [PATCH] Fix enabling of init scripts. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/Makefile b/package/Makefile index 2a3354cf0..e9bed9b6c 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