bug in make install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ciao,

upon installing GIT I  was bitten by the following behaviour
of  GNU   Bash  3.1  (from  the  Info   node  "Bourne  Shell
Builtins"):

| If a non-empty directory name from `CDPATH' is used, or if
| `-'  is the first  argument, and  the directory  change is
| successful,  the  absolute  pathname  of the  new  working
| directory is written to the standard output.

this is  triggered by setting "CDPATH=.",  that is including
"." in the list, when "templates/Makefile" does:

| (cd blt && $(TAR) cf - .) \
| (cd '$(DESTDIR_SQ)$(template_dir_SQ)' && umask 022 &&
$(TAR) xf -)

the absolute file name goes into the pipe and the "tar xf -"
fails  with  a "this  does  not  look  like a  tar  archive"
error. The problem is fixed by:

| (cd ./blt && $(TAR) cf - .)
|     ^^

Do not bother me asking why I put "." in CDPATH.

By the  way: the use of  tar annoys me a  little because the
installed files  are 0640, rather  than 0644, and I  have to
fix it while building my custom Slackware package. :/

-- 
Marco Maggi

"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"


--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux