aboutsummaryrefslogtreecommitdiffstats
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
commita5adc7a52c4f8365ec0b45faabb179f5dd9c6e45 (patch)
tree35dc91adabcf4e099fd58bb1207532a4257789b8 /package/Makefile
parent96b13eef6b84453745cc3a219388ec661c3aba62 (diff)
downloadupstream-a5adc7a52c4f8365ec0b45faabb179f5dd9c6e45.tar.gz
upstream-a5adc7a52c4f8365ec0b45faabb179f5dd9c6e45.tar.bz2
upstream-a5adc7a52c4f8365ec0b45faabb179f5dd9c6e45.zip
Fix enabling of init scripts.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12482 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 2a3354cf0a..e9bed9b6cc 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