[PATCH] Check the exit code from tar

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 27 07:11:34 EDT 2007


On Mon, 2007-03-26 at 16:44 -0700, Bryan O'Sullivan wrote:
> Prior to this change, if tar failed, the sdist command would fail to notice.

Applied. Thanks.

I added a simple tidy up while I was at it, to use rawSystemPath rather
than system. It gives us verbosity output and better error messages when
the command isn't found. Using rawSystem is preferable to system too in
most cases due to things like escaping.

Duncan



More information about the cabal-devel mailing list