X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0ec8fc138340b72203c106de7f66d07c10c86cc5..b193a7b32adb2b20cfd7dca796c35d05cd2e31b7:/package/Makefile

diff --git a/package/Makefile b/package/Makefile
index 2a3354cf0..5e2872043 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -4,7 +4,6 @@
 # This is free software, licensed under the GNU General Public License v2.
 # See /LICENSE for more information.
 #
-# $Id$
 
 curdir:=package
 
@@ -36,7 +35,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