Re: [PATCH] Replace instances of export VAR=VAL with VAR=VAL; export VAR
- From
David Kastrup <dak@gnu.org>
- Date
- Nov 28, 2007, 14:24 UTC
- Message-ID
- <85lk8ia1nw.fsf@lola.goethe.zz>
- In-Reply-To
- <fcaeb9bf0711280619j3479ea6csa74f4b0d907f2a65@mail.gmail.com>
"Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:
Show 7 quoted lines
> On Nov 28, 2007 8:57 PM, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote: >> >> It might be POSIX, but there are shells that do not like the >> expression 'export VAR=VAL'. To be on the safe side, rewrite them >> into 'VAR=VAL' and 'export VAR'. > > Why leave test scripts behind?
Good keyword: how about starting the basic tests by testing for shell features that are known and accepted to be used in git?
That way, we get direct feedback when feature assumptions are problematic with some shells.
-- David Kastrup, Kriemhildstr. 15, 44793 Bochum