FS#14715 - makepkg fails when CDPATH set
Attached to Project:
Pacman
Opened by Caleb Cushing (xenoterracide) - Thursday, 14 May 2009, 04:54 GMT
Last edited by Allan McRae (Allan) - Thursday, 14 May 2009, 06:25 GMT
Opened by Caleb Cushing (xenoterracide) - Thursday, 14 May 2009, 04:54 GMT
Last edited by Allan McRae (Allan) - Thursday, 14 May 2009, 06:25 GMT
|
Details
Description:
makepkg fails when CDPATH set. actual error (cd blt && tar cf - .) | \ (cd '/home/xenoterracide/abs/git/pkg/usr/share/git-core/templates' && umask 022 && tar xfo -) /bin/sh: line 0: cd: blt: No such file or directory tar: This does not look like a tar archive tar: Exiting with failure status due to previous error Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: basically try to build any package with CDPATH set. I fixed it by putting unset CDPATH in /etc/makepkg.conf but there may be a better place for that. it's probably the best fix since inside the script you don't need CDPATH anyways, it's more of a convenience for me on the cli. |
This task depends upon
tried building git 1.6.3 (and a bumped 1.6.3.1) with my build dir being $HOME/abs/git basically.
export CDPATH=".:${HOME}"