{"thread":{"id":"12967","subject":"bug in make install","startedAt":"2008-04-02T19:16:43Z","lastAt":"2008-04-03T16:53:43Z","messageCount":4,"participants":["Marco Maggi","Johannes Schindelin","Junio C Hamano"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"73563","messageId":"alpine.LSU.1.00.0804022116080.4008@racer.site","threadId":"12967","inReplyTo":"JYPQSO$FF146173479D39756CA6CA952130001D@poste.it","subject":"Re: bug in make install","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-04-02T19:16:43Z","receivedAt":"2008-04-02T19:16:43Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Wed, 2 Apr 2008, Marco Maggi wrote:\n\n> Do not bother me asking why I put \".\" in CDPATH.\n\nWe will probably not bother.  But we mention that exporting CDPATH makes \nabsolutely zero sense.\n\nCiao,\nDscho\n"},{"id":"73561","messageId":"JYPQSO$FF146173479D39756CA6CA952130001D@poste.it","threadId":"12967","inReplyTo":null,"subject":"bug in make install","fromName":"Marco Maggi","fromEmail":"marco.maggi-ipsu@poste.it","sentAt":"2008-04-02T19:43:36Z","receivedAt":"2008-04-02T19:43:36Z","isPatch":false,"sender":{"key":"marco.maggi-ipsu@poste.it","avatar":null},"body":"Ciao,\n\nupon installing GIT I  was bitten by the following behaviour\nof  GNU   Bash  3.1  (from  the  Info   node  \"Bourne  Shell\nBuiltins\"):\n\n| If a non-empty directory name from `CDPATH' is used, or if\n| `-'  is the first  argument, and  the directory  change is\n| successful,  the  absolute  pathname  of the  new  working\n| directory is written to the standard output.\n\nthis is  triggered by setting \"CDPATH=.\",  that is including\n\".\" in the list, when \"templates/Makefile\" does:\n\n| (cd blt && $(TAR) cf - .) \\\n| (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && umask 022 &&\n$(TAR) xf -)\n\nthe absolute file name goes into the pipe and the \"tar xf -\"\nfails  with  a \"this  does  not  look  like a  tar  archive\"\nerror. The problem is fixed by:\n\n| (cd ./blt && $(TAR) cf - .)\n|     ^^\n\nDo not bother me asking why I put \".\" in CDPATH.\n\nBy the  way: the use of  tar annoys me a  little because the\ninstalled files  are 0640, rather  than 0644, and I  have to\nfix it while building my custom Slackware package. :/\n\n-- \nMarco Maggi\n\n\"Now feel the funk blast!\"\nRage Against the Machine - \"Calm like a bomb\"\n"},{"id":"73575","messageId":"7vd4p75ycu.fsf@gitster.siamese.dyndns.org","threadId":"12967","inReplyTo":"alpine.LSU.1.00.0804022116080.4008@racer.site","subject":"Re: bug in make install","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2008-04-03T04:57:53Z","receivedAt":"2008-04-03T04:57:53Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n\n> On Wed, 2 Apr 2008, Marco Maggi wrote:\n>\n>> Do not bother me asking why I put \".\" in CDPATH.\n>\n> We will probably not bother.  But we mention that exporting CDPATH makes \n> absolutely zero sense.\n\nOften people who make this mistake do not know the difference between\nsetting it as a shell variable and exporting it to the environment, so a\ncomment to hint that there is a difference may be a helpful and friendly\nthing to do.\n"},{"id":"73614","messageId":"alpine.LSU.1.00.0804031852550.4008@racer.site","threadId":"12967","inReplyTo":"7vd4p75ycu.fsf@gitster.siamese.dyndns.org","subject":"Re: bug in make install","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2008-04-03T16:53:43Z","receivedAt":"2008-04-03T16:53:43Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi,\n\nOn Wed, 2 Apr 2008, Junio C Hamano wrote:\n\n> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:\n> \n> > On Wed, 2 Apr 2008, Marco Maggi wrote:\n> >\n> >> Do not bother me asking why I put \".\" in CDPATH.\n> >\n> > We will probably not bother.  But we mention that exporting CDPATH \n> > makes absolutely zero sense.\n> \n> Often people who make this mistake do not know the difference between \n> setting it as a shell variable and exporting it to the environment, so a \n> comment to hint that there is a difference may be a helpful and friendly \n> thing to do.\n\nFunny.  I did not even know about CDPATH until I joined the mailing list.  \nSo I assumed -- maybe mistakenly -- that everybody who wants to set \nCDPATH, especially to \".\", knows what they are talking about.\n\nCiao,\nDscho\n"}]}