diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-11-21 00:06:18 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-11-21 00:06:18 +0000 |
commit | d2c40177e07806daeb4812df2b44ffce3a5ca4cc (patch) | |
tree | ca9a9b0c923604166e1bb0162ac01a8bdf42803a /bin/ebuild.sh | |
parent | e4734ac94340b132ebb421701672c44210d348b6 (diff) | |
download | portage-d2c40177e07806daeb4812df2b44ffce3a5ca4cc.tar.gz portage-d2c40177e07806daeb4812df2b44ffce3a5ca4cc.tar.bz2 portage-d2c40177e07806daeb4812df2b44ffce3a5ca4cc.zip |
Set IMAGE for minimal backward compatibility with
overlays or user's bashrc, but don't export it.
(trunk r8511:8513)
svn path=/main/branches/2.1.2/; revision=8564
Diffstat (limited to 'bin/ebuild.sh')
-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 321129be7..3a8320b38 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -1553,6 +1553,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 |