projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mvebu: gen_mvebu_sdcard_img.sh: replace let with $(())
[oweals/openwrt.git]
/
target
/
linux
/
mvebu
/
image
/
gen_mvebu_sdcard_img.sh
diff --git
a/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
b/target/linux/mvebu/image/gen_mvebu_sdcard_img.sh
index 100a9a96e5c0acbd0bffe06fbeae6d7a2ef9e1f5..c93a2bd6e29ab8d0d8b1490e6d2ffc965e2cf920 100755
(executable)
--- 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