openwrtv4/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 target: don't build jffs2 nor images by default 2013-06-05 20:58:59 +00:00
ar7 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
ar71xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
at91 kernel: modify mtd related patches for 3.14 2014-05-08 21:52:04 +00:00
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 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
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 cobalt: do not build userland with support for mips1 2013-10-13 22:10:57 +00:00
ep93xx ep93xx: fix kmod-input-keyboard-ep93xx dependencies 2013-10-01 22:39:28 +00:00
gemini build: unify arm target cflags 2013-09-26 17:53:20 +00:00
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 targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
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 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
mcs814x build: unify arm target cflags 2013-09-26 17:53:20 +00:00
mpc52xx build: unify powerpc target cflags 2013-09-26 17:53:28 +00:00
mpc83xx octeon/mpc83xx: remove CONFIG_NETWORK_FILESYSTEMS override 2014-05-01 18:49:58 +00:00
mpc85xx target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
mvebu kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
mxs mxs: rename files so that profiles are sorted alphabetically 2014-05-03 14:56:25 +00:00
octeon octeon/mpc83xx: remove CONFIG_NETWORK_FILESYSTEMS override 2014-05-01 18:49:58 +00:00
omap upgrade 3.13 targets to 3.13.7 2014-03-26 11:34:39 +00:00
omap24xx additional musb fixups 2014-02-09 16:14:30 +00:00
orion orion: create a macro for zImage with machine id 2014-04-01 22:21:11 +00:00
ppc40x target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
ppc44x kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
pxa targets: prepare for supporting normal and initramfs images 2013-06-27 19:58:31 +00:00
ramips target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC 2014-06-02 12:43:22 +00:00
rb532 rb532: Fix ext4 and squashfs images 2014-05-07 01:16:14 +00:00
realview kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
sibyte build: unify mips target cflags 2013-09-26 17:53:14 +00:00
sparc kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
sunxi sunxi: add support for Lemaker bananaPi 2014-06-01 18:44:10 +00:00
uml target/uml: update README 2014-02-18 22:16:04 +00:00
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 kernel: update 3.10 to 3.10.36 2014-04-12 11:59:07 +00:00
Makefile