From d2c40177e07806daeb4812df2b44ffce3a5ca4cc Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 21 Nov 2007 00:06:18 +0000 Subject: 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 --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/ebuild.sh') 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 -- cgit v1.2.3-1-g7c22