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