summaryrefslogtreecommitdiff
path: root/package/base-files/files
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-06-02 12:45:13 +0000
committerJohn Crispin <john@openwrt.org>2014-06-02 12:45:13 +0000
commit0de0310a9cbc9a25d01d8823c2fb48974915704c (patch)
tree409a4b62c6b959bd83830d26d0f563ba149e3d0e /package/base-files/files
parent8e7b9741b0e622936d950a38929b0f08f35737cd (diff)
downloadmtk-20170518-0de0310a9cbc9a25d01d8823c2fb48974915704c.zip
mtk-20170518-0de0310a9cbc9a25d01d8823c2fb48974915704c.tar.gz
mtk-20170518-0de0310a9cbc9a25d01d8823c2fb48974915704c.tar.bz2
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 SVN-Revision: 40943
Diffstat (limited to 'package/base-files/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 ecf1a98..c817ccb 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