mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2026-05-05 09:56:12 +02:00
base-files: sysupgrade: fix -f with space in bkp path
Spaces in the backup.tgz filename was breaking sysupgrade. Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com> Link: https://github.com/openwrt/openwrt/pull/17847 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> (cherry picked from commit 1d3f33b6b14c4f3aac96731d255d7bcf3ba8d04b)
This commit is contained in:
parent
186782648c
commit
89a3a0d90d
@ -395,7 +395,7 @@ json_get_var forceable "forceable"
|
||||
}
|
||||
|
||||
if [ -n "$CONF_IMAGE" ]; then
|
||||
case "$(get_magic_word $CONF_IMAGE cat)" in
|
||||
case "$(get_magic_word "$CONF_IMAGE" cat)" in
|
||||
# .gz files
|
||||
1f8b) ;;
|
||||
*)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user