Re: [PATCH 4/4] filter-branch: fix variable export logic
- From
Paolo Bonzini <bonzini@gnu.org>
- Date
- May 14, 2008, 09:33 UTC
- Message-ID
- <482AB1FE.6030009@gnu.org>
- In-Reply-To
- <20080514045717.GA16592@sigill.intra.peff.net>
Show 7 quoted lines
> if test -n "$ORIG_GIT_DIR" > then > ... > fi > > would be even clearer, though I'm not sure if "-n" has any portability > concerns.
It has not. Some autoconf scripts do
if test "x$ORIG_GIT_DIR" != x; then
...
fi(and similarly for -z) but that's being phased out.
Paolo