openwrt/package/base-files/files
John Crispin 4ef319fad2 base-files: sysupgrade: quote source image name
get_image() eval a filename without quoting it, resulting in errors with
filenames containing characters that need to be escaped.
    $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $?
    Image check 'platform_check_image' failed.
    Invalid config file. Please use only .tar.gz files
    1
    $ mv cfg\(12\).tar.gz cfg_12.tar.gz
    $ mv img\(1\).bin img.bin
    sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $?
    0

Enclose the content of $from in double quotes.

Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me>

SVN-Revision: 46919
2015-09-14 20:09:06 +00:00
..
bin Disable telnet in favor of passwordless SSH 2015-09-07 19:29:25 +00:00
etc base-files: fix typo in core dump pattern sysctl entry (fixes #20489) 2015-09-12 08:57:59 +00:00
lib base-files: sysupgrade: quote source image name 2015-09-14 20:09:06 +00:00
rom rename default/ to files/ 2006-11-22 23:30:57 +00:00
sbin base-files: add support for platform_pre_upgrade function 2015-04-09 14:33:03 +00:00