Browse Source

base-files: Allow installation of symlinks using RAMFS_COPY_BIN env var.

http://patchwork.openwrt.org/patch/5086/

Signed-off-by: [email protected]

SVN-Revision: 40943
John Crispin 11 years ago
parent
commit
0de0310a9c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/base-files/files/lib/upgrade/common.sh

+ 1 - 1
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