openwrtv4/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
2014-06-02 12:43:22 +00:00
..
base-files target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
generic brcm63xx: Add profile and build image for Sagemcom F@ST2704V2 ADSL router 2014-02-22 11:16:35 +00:00
image brcm63xx: F@ST2504n board support (image, base-files) 2014-02-22 11:16:42 +00:00
patches-3.10 brcm63xx: hack around jffs2 corruption with SMP 2014-04-06 22:03:42 +00:00
patches-3.14 brcm63xx: hack around jffs2 corruption with SMP 2014-04-06 22:03:42 +00:00
smp brcm63xx: update bmips patches with upstream submission 2014-01-13 12:13:05 +00:00
base-files.mk bcm63xx: Add defconfigs. 2010-11-28 22:04:19 +00:00
config-3.10 brcm63xx: sync mips counters during bringup of cpus 2014-04-05 18:32:34 +00:00
config-3.14 brcm63xx: sync mips counters during bringup of cpus 2014-04-05 18:32:34 +00:00
Makefile kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
modules.mk brcm63xx: package the USB gadget module (bcm63xx_udc) 2014-01-14 05:23:20 +00:00