aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-06-02 12:45:13 +0000
committerJohn Crispin <blogic@openwrt.org>2014-06-02 12:45:13 +0000
commit90d0f5654ac7ee13b1706e8824014bef7eba5b09 (patch)
tree942bc6134ed843173af39a72e91a2c47ab15e7d7 /package/base-files
parent2c894a423418c138f9e30e9cd9f0d248655b8ce1 (diff)
downloadupstream-90d0f5654ac7ee13b1706e8824014bef7eba5b09.tar.gz
upstream-90d0f5654ac7ee13b1706e8824014bef7eba5b09.tar.bz2
upstream-90d0f5654ac7ee13b1706e8824014bef7eba5b09.zip
base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.
http://patchwork.openwrt.org/patch/5086/ Signed-off-by: karl.vogel@gmail.com git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40943 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/files/lib/upgrade/common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/lib/upgrade/common.sh b/package/base-files/files/lib/upgrade/common.sh
index ecf1a98b9c..c817ccbdd6 100644
--- a/package/base-files/files/lib/upgrade/common.sh
+++ b/package/base-files/files/lib/upgrade/common.sh
@@ -69,7 +69,7 @@ run_ramfs() { # <command> [...]
install_bin /usr/sbin/ubirmvol
install_bin /usr/sbin/ubimkvol
for file in $RAMFS_COPY_BIN; do
- install_bin $file
+ install_bin ${file//:/ }
done
install_file /etc/resolv.conf /lib/functions.sh /lib/functions/*.sh /lib/upgrade/*.sh $RAMFS_COPY_DATA