aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/base-files/lib/upgrade
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/kirkwood/base-files/lib/upgrade')
-rw-r--r--target/linux/kirkwood/base-files/lib/upgrade/platform.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
index a25d90a096..6d63a0a4b7 100644
--- a/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
+++ b/target/linux/kirkwood/base-files/lib/upgrade/platform.sh
@@ -13,10 +13,10 @@ platform_do_upgrade() {
case "$board" in
"linksys,audi"|\
"linksys,viper")
- platform_do_upgrade_linksys "$ARGV"
+ platform_do_upgrade_linksys "$1"
;;
*)
- nand_do_upgrade "$ARGV"
+ nand_do_upgrade "$1"
;;
esac
}