mvebu: sysupgrade: don't use $ARGV in platform_check_image()
authorRafał Miłecki <rafal@milecki.pl>
Sun, 14 Jul 2019 16:59:59 +0000 (18:59 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 17 Jul 2019 06:09:41 +0000 (08:09 +0200)
commit76e43c82b55518b794ac24f9acfb3888c638f99b
tree065c9b0945f7d35d5ab91a722aad0ec7d425b1be
parent8b4bc7abe073489a3595eeb2d81818852319c148
mvebu: sysupgrade: don't use $ARGV in platform_check_image()

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

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
target/linux/mvebu/base-files/lib/upgrade/platform.sh