openwrtv4/package
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
..
base-files base-files: sysupgrade: quote source image name 2015-09-14 20:09:06 +00:00
boot packages: uboot-sunxi: fix mmc transfer timeout for slow sdcards. 2015-09-13 15:11:27 +00:00
devel gdb: update to the latest version, fixes a build error with gcc 5.2 2015-09-03 13:14:50 +00:00
firmware kernel: add staging r8188eu module (3.13) 2014-04-30 21:53:29 +00:00
kernel kernel: dwc2: Add missing config symbol definition 2015-09-14 20:08:25 +00:00
libs argp-standalone: fix build error with gcc 5.2 (#20460) 2015-09-08 07:10:07 +00:00
network mac80211/hostapd: rework 802.11w driver support selection, do not hardcode drivers in hostapd makefile 2015-09-14 06:51:10 +00:00
system opkg: expose lists_dir option as command line argument 2015-09-14 16:56:40 +00:00
utils ugps: fix filename to eliminate build problems 2015-09-11 16:35:32 +00:00
Makefile build: Prevent more gzip timestamps 2015-07-14 09:57:45 +00:00