Openwrt/target/linux
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
..
adm5120 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
adm8668 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
amazon
ar7
ar71xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
at91
atheros target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
au1000 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
avr32 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
bcm53xx bcm53xx: add support for the PCIe controller 2014-05-29 19:25:40 +00:00
brcm47xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
brcm63xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
brcm2708
cns3xxx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
cns21xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
cobalt
ep93xx
gemini
generic kernel: update 3.14 to 3.14.5 2014-06-02 09:25:33 +00:00
imx6 imx6: make boardname consistent with other targets 2014-05-13 21:56:05 +00:00
iop32x
ixp4xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
kirkwood kirkwood: cosmetic: move POGOE02 profile to different file 2014-05-28 21:43:43 +00:00
lantiq target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
malta
mcs814x
mpc52xx
mpc83xx
mpc85xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
mvebu
mxs
octeon
omap
omap24xx
orion
ppc40x target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
ppc44x
pxa
ramips target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
rb532
realview
sibyte
sparc
sunxi sunxi: add support for Lemaker bananaPi 2014-06-01 18:44:10 +00:00
uml
x86 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
x86_64 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
xburst
Makefile