From: John Crispin 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://git.lede-project.org./?a=commitdiff_plain;h=0de0310a9cbc9a25d01d8823c2fb48974915704c;p=openwrt%2Fstaging%2Fynezz.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 SVN-Revision: 40943 --- 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