Re: [PATCH] Fix the exit code of MSVC build scripts on cygwin
- From
Ramsay Jones <ramsay@ramsay1.demon.co.uk>
- Date
- Oct 9, 2009, 22:04 UTC
- Message-ID
- <4ACFB37B.8010602@ramsay1.demon.co.uk>
- In-Reply-To
- <7vy6nl5ag0.fsf@alter.siamese.dyndns.org>
Junio C Hamano wrote:
Show 11 quoted lines
> Alex Riesen <raa.lkml@gmail.com> writes: >>> -exit system(@args); >>> +system(@args) == 0 >>> + or exit 1; >>> +exit 0; >> exit(system(@args) != 0); >> >> Yours looks a little verbose... > > Thanks, will queue with a fixup. >
Thanks! (Alex and Junio)
I had this as my penultimate version, so I'm happy.
[I changed it to be more explicit about the actual exit values returned by the script. (and thus more verbose :) ]
ATB, Ramsay Jones