Petr Baudis <pasky@xxxxxxx> wrote: > Dear diary, on Thu, Jul 06, 2006 at 03:10:11PM CEST, I got a letter > where Timo Hirvonen <tihirvon@xxxxxxxxx> said that... > > "which" isn't portable. On SunOS 5.9 "which foo" prints error message to > > stdout and returns 0. > > Wait, Git runs on SunOS 5.9? I have no idea. I noticed the problem with "which" when I ported my cmus configure scripts to SunOS. In the git Makefile there are: ifeq ($(uname_S),SunOS) ... ifeq ($(uname_R),5.8) ... ifeq ($(uname_R),5.9) so it at least tries to work ;) Oh and that 5.9 is apparently kernel version, not OS version. Sorry for the confusion. -- http://onion.dynserv.net/~timo/ - : send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html