X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/0ec8fc138340b72203c106de7f66d07c10c86cc5..0368790b576f54c897d093a729fe7d20b647099f:/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