mvebu: gen_mvebu_sdcard_img.sh: replace let with $(())
[oweals/openwrt.git] / target / linux / mvebu / image / gen_mvebu_sdcard_img.sh
index 100a9a96e5c0acbd0bffe06fbeae6d7a2ef9e1f5..c93a2bd6e29ab8d0d8b1490e6d2ffc965e2cf920 100755 (executable)
@@ -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