Re: [PATCH] compress output of `cd' when installing templates
- From
Junio C Hamano <junkio@cox.net>
- Date
- May 21, 2006, 18:23 UTC
- Message-ID
- <7vy7wvi6dr.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20060521185421.a91bf118.tihirvon@gmail.com>
Timo Hirvonen <tihirvon@gmail.com> writes:
Show 7 quoted lines
> Gang Chen <goncha.ml@gmail.com> wrote: > >> When CDPATH is set in Bash, `cd' writes new working directory to >> stdout, which corrupts output of `tar cf - .'. > > Fix bash instead, or just don't export CDPATH. It is used by bash only > so exporting it is unnecessary.
Thanks.
It is not just unnecessary, but "export CDPATH" anywhere in your rc scripts is actively *WRONG*.