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

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

Previous: Wincent ColaiutaNext: Johannes Schindelin
Message 6 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.