From: blogic Date: Mon, 2 Jun 2014 12:45:13 +0000 (+0000) Subject: base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=898e8bca9511157b99d506939a23f17c2cc468be;p=openwrt.git 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 --- 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() { # [...] 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