Re: Installation failure caused by CDPATH environment variable
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 11, 2007, 21:26 UTC
- Message-ID
- <7vejje3a4k.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <9693D8E9-6F11-4AA1-AFCA-7E8456FA6420@wincent.com>
Wincent Colaiuta <win@wincent.com> writes:
Show 6 quoted lines
> install: all > $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(template_dir_SQ)' > - (cd blt && $(TAR) cf - .) | \ > + cd blt && $(TAR) cf - . | \ > (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && $(TAR) xf -) > + cd -
Actually I suspect replacing the "cd blt" in the original with "cd ./blt", without changing anything else, would squelch the CDPATH problem.
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?