Re: Installation failure caused by CDPATH environment variable
- From
Wincent Colaiuta <win@wincent.com>
- Date
- Jul 12, 2007, 10:24 UTC
- Message-ID
- <4C80B6B8-F6D6-4C8B-86F5-629B5662247C@wincent.com>
- In-Reply-To
- <7vodiivx50.fsf@assigned-by-dhcp.cox.net>
El 12/7/2007, a las 10:34, Junio C Hamano escribió:
Show 8 quoted lines
> 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").
Cheers, Wincent