scripts: fix wrong usage of '==' operator
[openwrt/staging/jow.git] / target / linux / sunxi / image / gen_sunxi_sdcard_img.sh
index 06957a5aec574848bff74493e0cd264162770d11..2a09306af69ebece76181e5e8d8d84257d275afa 100755 (executable)
@@ -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
 }