You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openwrt/target/linux/brcm63xx
John Crispin f933a741a9 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

SVN-Revision: 40915
10 years ago
..
base-files target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 10 years ago
generic brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router 10 years ago
image brcm63xx: F@ST2504n board support (image, base-files) 10 years ago
patches-3.10 brcm63xx: hack around jffs2 corruption with SMP 10 years ago
patches-3.14 brcm63xx: hack around jffs2 corruption with SMP 10 years ago
smp brcm63xx: update bmips patches with upstream submission 11 years ago
Makefile kernel: update 3.10 to 3.10.36 10 years ago
base-files.mk bcm63xx: Add defconfigs. 14 years ago
config-3.10 brcm63xx: sync mips counters during bringup of cpus 10 years ago
config-3.14 brcm63xx: sync mips counters during bringup of cpus 10 years ago
modules.mk brcm63xx: package the USB gadget module (bcm63xx_udc) 11 years ago