Author: blueswirl Date: Sun May 22 18:39:48 2011 New Revision: 1040 URL: http://tracker.coreboot.org/trac/openbios/changeset/1040
Log: switch-arch: remove non-standard "local" keyword
Remove the non-standard "local" keyword from within the crosscflags() function. This was not necessary since the variables "host" and "target" were not clobbered anywhere outside of the function, but the real motivation is to support shells such as ksh93 that do not have the "local" builtin like bash.
Signed-off-by: Kenneth Salerno kennethsalerno@yahoo.com Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/config/scripts/switch-arch
Modified: trunk/openbios-devel/config/scripts/switch-arch ============================================================================== --- trunk/openbios-devel/config/scripts/switch-arch Sun May 8 17:36:59 2011 (r1039) +++ trunk/openbios-devel/config/scripts/switch-arch Sun May 22 18:39:48 2011 (r1040) @@ -19,8 +19,8 @@
crosscflags() { - local host=$1 - local target=$2 + host=$1 + target=$2
if test "$host" = "powerpc" -o "$host" = "ppc" \ -o "$host" = "mips" -o "$host" = "s390" \