diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-16 06:21:26 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-16 06:21:26 +0000 |
commit | 72178ba6b9b68766f4596cc51ad9d5ae91680f42 (patch) | |
tree | 53606ef309303259a248bd58c935b7194021021d | |
parent | 8e0d365e167ee363f542393ca6f1d8c7b3454ccf (diff) | |
download | portage-72178ba6b9b68766f4596cc51ad9d5ae91680f42.tar.gz portage-72178ba6b9b68766f4596cc51ad9d5ae91680f42.tar.bz2 portage-72178ba6b9b68766f4596cc51ad9d5ae91680f42.zip |
Set IMAGE for minimal backward compatibility with
overlays or user's bashrc, but don't export it.
svn path=/main/trunk/; revision=8513
-rwxr-xr-x | bin/ebuild.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh index 338da2c2b..bbdc6606e 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1437,6 +1437,9 @@ for x in D T P PN PV PVR PR CATEGORY A EBUILD EMERGE_FROM FILESDIR PORTAGE_TMPDI [[ ${!x-UNSET_VAR} != UNSET_VAR ]] && declare -r ${x} done unset x +# Set IMAGE for minimal backward compatibility with +# overlays or user's bashrc, but don't export it. +IMAGE=${D} # Turn of extended glob matching so that g++ doesn't get incorrectly matched. shopt -u extglob |