aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips')
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 7372a37939..c4a09cb40e 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -27,7 +27,7 @@ platform_nand_pre_upgrade() {
case "$board" in
ubnt-erx|\
ubnt-erx-sfp)
- platform_upgrade_ubnt_erx "$ARGV"
+ platform_upgrade_ubnt_erx "$1"
;;
esac
}
@@ -43,14 +43,14 @@ platform_do_upgrade() {
ubnt-erx-sfp|\
xiaomi,mir3g|\
xiaomi,mir3p)
- nand_do_upgrade "$ARGV"
+ nand_do_upgrade "$1"
;;
tplink,c50-v4)
MTD_ARGS="-t romfile"
- default_do_upgrade "$ARGV"
+ default_do_upgrade "$1"
;;
*)
- default_do_upgrade "$ARGV"
+ default_do_upgrade "$1"
;;
esac
}