summaryrefslogtreecommitdiff
path: root/package/Makefile
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2008-09-02 00:23:59 +0000
committerLars-Peter Clausen <lars@metafoo.de>2008-09-02 00:23:59 +0000
commitfbdb8046c27dcec1988f04c2e227015159735b68 (patch)
tree7ad0ca33213a72ab47b0df9f698cc89ef6785abf /package/Makefile
parent2552e9362b8b6ce157d3903df6477e7b35bab1ef (diff)
downloadmtk-20170518-fbdb8046c27dcec1988f04c2e227015159735b68.zip
mtk-20170518-fbdb8046c27dcec1988f04c2e227015159735b68.tar.gz
mtk-20170518-fbdb8046c27dcec1988f04c2e227015159735b68.tar.bz2
Fix enabling of init scripts.
SVN-Revision: 12482
Diffstat (limited to 'package/Makefile')
-rw-r--r--package/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/Makefile b/package/Makefile
index 2a3354c..e9bed9b 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