base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.
authorJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:45:13 +0000 (12:45 +0000)
committerJohn Crispin <john@openwrt.org>
Mon, 2 Jun 2014 12:45:13 +0000 (12:45 +0000)
http://patchwork.openwrt.org/patch/5086/

Signed-off-by: karl.vogel@gmail.com
SVN-Revision: 40943

package/base-files/files/lib/upgrade/common.sh

index ecf1a98b9ca7bab5b1f0a72c54e0fbee0bb64456..c817ccbdd6a0796fe354b20ed59679be4db746ae 100644 (file)
@@ -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