diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2019-07-14 18:59:59 +0200 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2019-07-17 08:09:41 +0200 |
commit | 76e43c82b55518b794ac24f9acfb3888c638f99b (patch) | |
tree | 065c9b0945f7d35d5ab91a722aad0ec7d425b1be /target/linux/mvebu | |
parent | 8b4bc7abe073489a3595eeb2d81818852319c148 (diff) | |
download | upstream-76e43c82b55518b794ac24f9acfb3888c638f99b.tar.gz upstream-76e43c82b55518b794ac24f9acfb3888c638f99b.tar.bz2 upstream-76e43c82b55518b794ac24f9acfb3888c638f99b.zip |
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>
Diffstat (limited to 'target/linux/mvebu')
-rwxr-xr-x | target/linux/mvebu/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/base-files/lib/upgrade/platform.sh b/target/linux/mvebu/base-files/lib/upgrade/platform.sh index 981fa2aa2e..58e7d83e4e 100755 --- a/target/linux/mvebu/base-files/lib/upgrade/platform.sh +++ b/target/linux/mvebu/base-files/lib/upgrade/platform.sh @@ -11,7 +11,7 @@ platform_check_image() { case "$(board_name)" in cznic,turris-omnia|globalscale,espressobin|globalscale,espressobin-emmc|globalscale,espressobin-v7|globalscale,espressobin-v7-emmc|\ marvell,armada8040-mcbin|solidrun,clearfog-base-a1|solidrun,clearfog-pro-a1) - platform_check_image_sdcard "$ARGV" + platform_check_image_sdcard "$1" ;; *) return 0 |