X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/015124ea4f42aa2cf8edeb8c8cc2fc9a7d48fe3d..5ea5da8a9841cd9730607a4a4194654cc9625d24:/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