openwrtv4/target/linux/lantiq
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
dts lantiq: BT Home Hub 2B - overlayfs on top of ubi 2014-04-22 08:08:46 +00:00
falcon build: unify mips target cflags 2013-09-26 17:53:14 +00:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image Fix ARV7519RW images 2014-04-12 21:22:08 +00:00
patches-3.10 lantiq: strip FCS from received ethernet frames on XRX200 2014-05-07 18:36:58 +00:00
xrx200 lantiq: ARV7519RW22: several fixes 2014-04-16 12:01:09 +00:00
xway lantiq: BT Home Hub 2B - overlayfs on top of ubi 2014-04-22 08:08:46 +00:00
base-files.mk lantiq: add runtime generation of /etc/config/network 2011-11-15 18:21:00 +00:00
config-default lantiq: BT Home Hub 2B support - jedec probe 2014-04-03 14:26:50 +00:00
Makefile kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00