
May 5, 2011
1:19 a.m.
crosscflags() {
- local host=$1 - local target=$2 + host=$1 + target=$2
Confirmed; this produces the correct result with /bin/sh (ksh93), bash, and /usr/xpg4/bin/sh.
Have you tried separating the declaration and the definition. i.e.: local host host=$1 IIRC there are sometimes issues when you combine the two. Paul