X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/0ec8fc138340b72203c106de7f66d07c10c86cc5..1784b56f801381430670c56b267f1d2c50ec48b2:/package/Makefile 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