Re: Installation failure caused by CDPATH environment variable
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 12, 2007, 11:52 UTC
- Message-ID
- <Pine.LNX.4.64.0707121250170.4516@racer.site>
- In-Reply-To
- <4C80B6B8-F6D6-4C8B-86F5-629B5662247C@wincent.com>
Hi,
On Thu, 12 Jul 2007, Wincent Colaiuta wrote:
Show 20 quoted lines
> El 12/7/2007, a las 10:34, Junio C Hamano escribi?: > > > David Kastrup <dak@gnu.org> writes: > > > > > Don't educate people. Just don't trigger their problems. Of > > > course, there are millions of ways of shooting oneself in the foot, > > > but in this case the same foot has been hit several times already. > > > > Yup. We do exactly that in git-clone, git-sh-setup and t/test-lib to > > avoid getting bugged by this stupidity. > > El 12/7/2007, a las 9:51, David Kastrup escribi?: > > > [ "X" = "X$CDPATH" ] || unset CDPATH # ignore braindamaged exports > > Whatever decision is taken in the end, I think we should avoid terms > like "stupidity" and "braindamaged" to avoid causing possible offense. > Exporting CDPATH is a simple mistake that can be made inadvertently or > unwittingly, but very easily (Googling for "export CDPATH" yields > 18,000+ results, many of them purporting to be Bash "tutorials").
Sorry, my words were indeed to strong. I apologise. My only excuse is that this crops up ever so often, and it does get slightly annoying. Of course, you did not read all those mails, and so my words were unmerited.
For an example, see
http://article.gmane.org/gmane.comp.version-control.git/13736/match=cdpath
Ciao, Dscho