mirror of
https://github.com/openwrt/openwrt.git
synced 2026-06-17 17:01:44 +04: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>
This commit is contained in:
committed by
Hauke Mehrtens
parent
b9b66d3395
commit
1d3f33b6b1
@@ -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) ;;
|
||||
*)
|
||||
|
||||
Reference in New Issue
Block a user