Re: [PATCH v2] Replace instances of export VAR=VAL with VAR=VAL; export VAR
- From
David Kastrup <dak@gnu.org>
- Date
- Nov 28, 2007, 22:53 UTC
- Message-ID
- <85sl2q6kyu.fsf@lola.goethe.zz>
- In-Reply-To
- <7vzlwy2dkm.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 12 quoted lines
> David Kastrup <dak@gnu.org> writes: > >> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: >> >>> It might be POSIX, but there are shells that do not like the >>> expression 'export VAR=VAL'. >> >> As long as we have no positive report about any such shell that >> _otherwise_ would be usable for git, why bother? > > I thought somebody already mention that ash mishandles "export VAR=VAL" > but otherwise Ok.
dak@lola:~$ ash $ export JUNK=woozle $ sh -c 'echo $JUNK' woozle $ exit dak@lola:~$ dash $ export JUNK=woozle $ sh -c 'echo $JUNK' woozle $ exit
What problem are we talking about exactly, and with what shell?
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum