mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
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>
This commit is contained in:
parent
0590d74db2
commit
927210a828
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user