projects
/
openwrt
/
staging
/
blogic.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/blogic.git]
/
target
/
linux
/
brcm2708
/
image
/
gen_rpi_sdcard_img.sh
diff --git
a/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
b/target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
index 1b7e65ea5231aefdd036e70939c80ba0c88f89b1..ffe01fa32caa8c9dee2deef85086d8e76afb87ff 100755
(executable)
--- a/
target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
+++ b/
target/linux/brcm2708/image/gen_rpi_sdcard_img.sh
@@
-1,7
+1,7
@@
#!/usr/bin/env bash
set -x
-[ $#
==
5 ] || {
+[ $#
-eq
5 ] || {
echo "SYNTAX: $0 <file> <bootfs image> <rootfs image> <bootfs size> <rootfs size>"
exit 1
}