projects
/
openwrt
/
staging
/
jow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
[openwrt/staging/jow.git]
/
target
/
linux
/
ppc40x
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
b/target/linux/ppc40x/base-files/lib/upgrade/platform.sh
index ed08cab2a1ed5684e56eee46651705e839d89694..b20b83cd57d23893602578335c3d67817de922da 100644
(file)
--- a/
target/linux/ppc40x/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/ppc40x/base-files/lib/upgrade/platform.sh
@@
-11,7
+11,7
@@
platform_check_image() {
local board=$(ppc40x_board_name)
local magic="$(get_magic_word "$1")"
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$board" in
kilauea | openrb | magicbox)