aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-11-25 14:44:46 -0800
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-12-31 00:59:55 +0100
commit927210a828ddb15b05b873a8c65dc51fff560846 (patch)
treeabd0bdc0cfeab1d88366b5ff9e7f3778265a9055 /target
parent0590d74db2a47ed254810f0e2e00bc7cf1c9e3ef (diff)
downloadupstream-927210a828ddb15b05b873a8c65dc51fff560846.tar.gz
upstream-927210a828ddb15b05b873a8c65dc51fff560846.tar.bz2
upstream-927210a828ddb15b05b873a8c65dc51fff560846.zip
mvebu: gen_mvebu_sdcard_img.sh: replace let with $(())
let is a bashism. Found with shellcheck. Signed-off-by: Rosen Penev <rosenp@gmail.com> [add prefix to commit title] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target')
-rwxr-xr-xtarget/linux/mvebu/image/gen_mvebu_sdcard_img.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh b/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
index 100a9a96e5..c93a2bd6e2 100755
--- a/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
+++ b/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
@@ -79,6 +79,6 @@ while [ "$#" -ge 2 ]; do
) | dd of="$OUTFILE" bs=512 seek=$(($1 / 512)) conv=notrunc 2>/dev/null
printf "Done\n"
- let i=i+1
+ i=$((i+1))
shift; shift
done