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

Re: Installation failure caused by CDPATH environment variable

From
Junio C Hamano <gitster@pobox.com>
Date
Jul 11, 2007, 21:26 UTC
Message-ID
<7vejje3a4k.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<9693D8E9-6F11-4AA1-AFCA-7E8456FA6420@wincent.com>
Wincent Colaiuta <win@wincent.com> writes:
Show 6 quoted lines
>  install: all
>         $(INSTALL) -d -m755 '$(DESTDIR_SQ)$(template_dir_SQ)'
> -       (cd blt && $(TAR) cf - .) | \
> +       cd blt && $(TAR) cf - . | \
>         (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && $(TAR) xf -)
> +       cd -

Actually I suspect replacing the "cd blt" in the original with "cd ./blt", without changing anything else, would squelch the CDPATH problem.

We could write it as "$(TAR) Ccf blt - ." if we can rely on the 'C' option, but I suspect it is a GNU extension. Does anybody have POSIX.1 handy?

Previous: Johannes SchindelinNext: Uwe Kleine-König
Message 8 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.