projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scripts: fix wrong usage of '==' operator
[openwrt/staging/jow.git]
/
target
/
linux
/
sunxi
/
image
/
gen_sunxi_sdcard_img.sh
diff --git
a/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
b/target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
index 06957a5aec574848bff74493e0cd264162770d11..2a09306af69ebece76181e5e8d8d84257d275afa 100755
(executable)
--- a/
target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
+++ b/
target/linux/sunxi/image/gen_sunxi_sdcard_img.sh
@@
-8,7
+8,7
@@
#
set -x
-[ $#
==
6 ] || {
+[ $#
-eq
6 ] || {
echo "SYNTAX: $0 <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size> <u-boot image>"
exit 1
}