projects
/
openwrt.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.git]
/
target
/
linux
/
brcm63xx
/
base-files
/
lib
/
upgrade
/
platform.sh
diff --git
a/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
b/target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
index
63ab774
..
5c9e2c2
100644
(file)
--- a/
target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
+++ b/
target/linux/brcm63xx/base-files/lib/upgrade/platform.sh
@@
-1,6
+1,6
@@
PART_NAME=linux
platform_check_image() {
- [ "$
ARGC
" -gt 1 ] && return 1
+ [ "$
#
" -gt 1 ] && return 1
case "$(get_magic_word "$1")" in
3600|3700|3800)
# 6348GW-11 boards use openwrt-96348GW-11-squashfs-cfe.bin files