Re: [ANNOUNCE] GIT 1.5.3
- From
- Arkadiusz Miskiewicz <arekm@pld-linux.org>
- Date
- Sep 2, 2007, 12:36 UTC
- Message-ID
- <fbeanj$mfq$1@sea.gmane.org>
- In-Reply-To
- <Pine.LNX.4.64.0709021157120.28586@racer.site>
Johannes Schindelin wrote:
Show 29 quoted lines
> Hi, > > On Sun, 2 Sep 2007, Arkadiusz Miskiewicz wrote: > >> Junio C Hamano wrote: >> >> > The latest feature release GIT 1.5.3 is available at the usual >> > places: >> >> Hm, >> >> [...] >> >> *** t0001-init.sh *** >> * FAIL 1: plain >> >> ( >> unset GIT_DIR GIT_WORK_TREE && >> mkdir plain && >> cd plain && >> git init >> ) && >> check_config plain/.git false unset > > Please try the verbose mode: cd t/ && sh t0001-init.sh -i -v. If that > does not show you _what_ the problem is, try "sh -x [...]". > > If you still cannot find what the problem is, please tell us what platform > you're running on, and show us the output of the "-i -v" invocation.
Found out why this happens. My /bin/sh is pdksh (not bash).
AAAA was never set and:
/bin/sh (pdksh) [arekm@carme-pld ~]$ unset AAAA [arekm@carme-pld ~]$ echo $? 1
/bin/bash [arekm@carme-pld ~]$ unset AAAA [arekm@carme-pld ~]$ echo $? 0
It's pdksh bug, susv3 says "Unsetting a variable or function that was not previously set shall not be considered an error and does not cause the shell to abort."
Going to fix pdksh then.
> Ciao, > Dscho
-- Arkadiusz Miśkiewicz PLD/Linux Team arekm / maven.pl http://ftp.pld-linux.org/