From: Junio C Hamano Date: Tue, 17 Jul 2007 18:37:03 GMT Subject: Re: Installation failure caused by CDPATH environment variable Message-ID: <7vhco2ancg.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <20070717114024.GA12215@informatik.uni-freiburg.de> Uwe Kleine-König writes: > Junio C Hamano wrote: >> We could write it as "$(TAR) Ccf blt - ." if we can rely on the >> 'C' option, but I suspect it is a GNU extension. Does anybody >> have POSIX.1 handy? > I don't have POSIX.1 handy, but on Solaris 10, you need to say: > > tar cf - -C blt . > > (That is, Solaris' tar has the 'C' option, which is quite a good > indication, that it's included in POSIX :-) Oh, I cannot resist ;-) Solaris has unlink(2) capable of removing a directory, but I do not think it is included in POSIX.