Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc



Alistair G. Crooks <agc%netbsd.org@localhost> typed:
:Modified Files:
:       pkgsrc/mk: bsd.pkg.mk
:Log Message:
:Solaris sh(1) doesn't understand the "if ! command; then..." construct.
: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.
-- 
Geoff Wing   <gcw%pobox.com@localhost>            Mobile : (Australia) 0412 162 
441
Work URL: http://www.primenet.com.au/   Ego URL: http://pobox.com/~gcw/



Home | Main Index | Thread Index | Old Index