[crosstool-ng] Internal compiler error with gcc 4.3.2 + patch
Nye Liu
nyet@mrv.com
Wed Aug 5 19:18:00 GMT 2009
On Wed, Aug 05, 2009 at 12:13:10PM -0700, Thomas Petazzoni wrote:
> Then, I add . to the PATH and try again:
>
> thomas@surf:/tmp/tst$ export PATH=$PATH:.
> thomas@surf:/tmp/tst$ sh foobar.sh
> thomas@surf:/tmp/tst$
>
> It works, but only when '.' is in the PATH.
>
$PATH should not affect sh's "." command (aka "source")
nyet@hobag:~/tmp$ cat foobar.sh
#!/bin/sh
. "test.mk"
nyet@hobag:~/tmp$ cat test.mk
export foo=bar
nyet@hobag:~/tmp$ echo $PATH
/home/nyet/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games
nyet@hobag:~/tmp$ sh foobar.sh
nyet@hobag:~/tmp$
--
Nye Liu
nliu@mrv.com
(818) 772-6235x248
(818) 772-0576 fax
"Who would be stupid enough to quote a fictitious character?"
-- Don Quixote
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list