diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:21:51 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-03-28 09:21:51 +0000 |
commit | 0865a475dcd13d996fa9a40d74db590040abb4d2 (patch) | |
tree | bca5904fedd137eedce9cead1f93b34c3b8acfda /bin/ebuild.sh | |
parent | 6535bb8cea866a1a713b8c869f97a55cbd45f454 (diff) | |
download | portage-0865a475dcd13d996fa9a40d74db590040abb4d2.tar.gz portage-0865a475dcd13d996fa9a40d74db590040abb4d2.tar.bz2 portage-0865a475dcd13d996fa9a40d74db590040abb4d2.zip |
Bug #210449 - Reset exeinto(), docinto(), insinto(), and into() state
variables in case the user is running the install phase multiple times
consecutively via the ebuild command. (trunk r9357)
svn path=/main/branches/2.1.2/; revision=9531
Diffstat (limited to 'bin/ebuild.sh')
-rwxr-xr-x | bin/ebuild.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 3cf834f6b..23d0b619a 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -966,6 +966,15 @@ dyn_install() { #some packages uses an alternative to $S to build in, cause #our libtool to create problematic .la files export PWORKDIR="$WORKDIR" + + # Reset exeinto(), docinto(), insinto(), and into() state variables + # in case the user is running the install phase multiple times + # consecutively via the ebuild command. + export DESTTREE=/usr + export INSDESTTREE="" + export _E_EXEDESTTREE_="" + export _E_DOCDESTTREE_="" + ebuild_phase src_install touch "${PORTAGE_BUILDDIR}/.installed" vecho ">>> Completed installing ${PF} into ${D}" |