treewide: sysupgrade: don't use $ARGV in platform_do_upgrade()
authorRafał Miłecki <rafal@milecki.pl>
Sun, 14 Jul 2019 17:03:19 +0000 (19:03 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 17 Jul 2019 06:05:38 +0000 (08:05 +0200)
commit8b4bc7abe073489a3595eeb2d81818852319c148
tree34a2b388aba0e1235718f21d03671b4682ec5248
parentd9593b0809e42e9d75cc3ac4407ec30faaf70b15
treewide: sysupgrade: don't use $ARGV in platform_do_upgrade()

stage2 passes image path to platform_do_upgrade() as an argument so it
can be simply accessed using $1

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
16 files changed:
target/linux/apm821xx/base-files/lib/upgrade/platform.sh
target/linux/ar71xx/base-files/lib/upgrade/dir825.sh
target/linux/ar71xx/base-files/lib/upgrade/platform.sh
target/linux/ath79/base-files/lib/upgrade/platform.sh
target/linux/cns3xxx/base-files/lib/upgrade/platform.sh
target/linux/gemini/base-files/lib/upgrade/platform.sh
target/linux/ipq40xx/base-files/lib/upgrade/platform.sh
target/linux/ipq806x/base-files/lib/upgrade/platform.sh
target/linux/ixp4xx/base-files/lib/upgrade/platform.sh
target/linux/kirkwood/base-files/lib/upgrade/platform.sh
target/linux/lantiq/base-files/lib/upgrade/platform.sh
target/linux/layerscape/base-files/lib/upgrade/platform.sh
target/linux/mediatek/base-files/lib/upgrade/platform.sh
target/linux/mpc85xx/base-files/lib/upgrade/platform.sh
target/linux/mvebu/base-files/lib/upgrade/platform.sh
target/linux/ramips/base-files/lib/upgrade/platform.sh