Subject: Re: CVS commit: pkgsrc
To: Geoff Wing <mason@primenet.com.au>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: source-changes
Date: 03/09/1999 14:16:52
On 9 Mar 1999, Geoff Wing wrote:
> :So dumb-down the shell commands used: make them into
> :"command; if [ $? -ne 0 ]; then..."
> :Suggested by David Brownlee.
> ``if command; then : ; else .....; fi''
> might be nicer on the eye.

I don't thinks so. You're doing two things here (1. run the command, 2.
check if it went ok), and seperating this make things easier to read
instead of stuffing it all in one command (with one part even unused).


 - Hubert

-- 
Hubert Feyrer <hubert.feyrer@rz.uni-regensburg.de>