Author: rmilecki Date: 2015-04-17 07:45:46 +0200 (Fri, 17 Apr 2015) New Revision: 45472
Modified: trunk/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh Log: brcm47xx: fix handling absolute paths in sysupgrade (for vendor formats) Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]> Modified: trunk/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh =================================================================== --- trunk/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh 2015-04-17 00:01:29 UTC (rev 45471) +++ trunk/target/linux/brcm47xx/base-files/lib/upgrade/platform.sh 2015-04-17 05:45:46 UTC (rev 45472) @@ -148,8 +148,8 @@ local trx="$1" case "$file_type" in - "chk") trx="/tmp/$1.trx"; platform_extract_trx_from_chk "$1" "$trx";; - "cybertan") trx="/tmp/$1.trx"; platform_extract_trx_from_cybertan "$1" "$trx";; + "chk") trx="/tmp/$(basename $1).trx"; platform_extract_trx_from_chk "$1" "$trx";; + "cybertan") trx="/tmp/$(basename $1).trx"; platform_extract_trx_from_cybertan "$1" "$trx";; esac shift _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
