From fbdb8046c27dcec1988f04c2e227015159735b68 Mon Sep 17 00:00:00 2001 From: Lars-Peter Clausen Date: Tue, 2 Sep 2008 00:23:59 +0000 Subject: Fix enabling of init scripts. SVN-Revision: 12482 --- package/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package') 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 -- cgit v1.2.3