[csw-maintainers] opensolaris command more compliant - what is opencsw solution ?
rupert THURNER
rupert at opencsw.org
Sat Apr 3 16:03:02 CEST 2010
hi,
the mercurial testsuite relies on which returning something non 0 in
case nothing is found. the standard solaris csh script returns 0.
the opensolaris which fixed this, see
http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/which/which.csh
53 if ( ! $?found ) then
54 echo no $arg in $path
55 set exit_status = 1
56 endif
57 end
58
59 exit ${exit_status}
60
what is the strategy we follow in opencsw in such cases?
rupert.
More information about the maintainers
mailing list