openwrtv4/target/linux/brcm47xx
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
image brcm47xx: image: respect device flash block size 2014-05-14 10:08:56 +00:00
patches-3.10 kernel: add a ssb backport required for a new mac80211 update 2014-05-23 18:48:31 +00:00
patches-3.14 brcm47xx: refresh patches 2014-04-08 19:51:36 +00:00
profiles brcm47xx: profiles: fix white spaces (s/ $//) 2014-05-14 10:09:31 +00:00
base-files.mk add back the base-files/image code from brcm-2.4 to brcm47xx 2010-06-26 20:41:49 +00:00
config-3.10 brcm47xx: add new led and button support 2014-01-12 18:55:25 +00:00
config-3.14 brcm47xx: add initial support for kernel 3.14 2014-03-12 23:28:41 +00:00
Makefile kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
modules.mk brcm47xx: fix module insert order 2013-07-04 13:31:13 +00:00