git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Junio C HamanoNext: Johannes Schindelin
Message 5 of 12 in “Installation failure caused by CDPATH environment variable”
  1. Wincent ColaiutaJul 11, 2007
  2. Johannes SchindelinJul 11, 2007
  3. David KastrupJul 12, 2007
  4. Junio C HamanoJul 12, 2007
  5. Wincent ColaiutaJul 12, 2007
  6. Johannes SchindelinJul 12, 2007
  7. Johannes SchindelinJul 12, 2007
  8. Junio C HamanoJul 11, 2007
  9. Uwe Kleine-KönigJul 17, 2007
  10. Junio C HamanoJul 17, 2007
  11. Wincent ColaiutaJul 17, 2007
  12. Uwe Kleine-KönigJul 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.