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

Re: 2 build issues

From
Junio C Hamano <junkio@cox.net>
Date
Aug 14, 2006, 23:12 UTC
Message-ID
<7vfyfydi97.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<20060814152923.bc295ef3.rdunlap@xenotime.net>
"Randy.Dunlap" <rdunlap@xenotime.net> writes:
Show 7 quoted lines
> On Mon, 14 Aug 2006 15:10:27 -0700 Junio C Hamano wrote:
>
>> I see many documents floating on the web that call CDPATH "an
>> environment variable".  It is a disease X-<.
>
> What is CDPATH then?  (other than trouble/disease)
> I find it useful (usually :).

What I mean is that it belongs to the "set" command output but should not be in "printenv" command output.

It is a useful shell variable to help interactive use, but it causes trouble without benefit when exported to the environment (breaks scripts you invoke without you knowing). Calling such a shell variable "an environment variable" is spreading trouble.

Previous: Randy.DunlapNext: Jeff King
Message 4 of 6 in “2 build issues”
  1. Randy.DunlapAug 14, 2006
  2. Junio C HamanoAug 14, 2006
  3. Randy.DunlapAug 14, 2006
  4. Junio C HamanoAug 14, 2006
  5. Jeff KingAug 15, 2006
  6. Randy.DunlapAug 18, 2006

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.