summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-02-14 19:22:06 +0000
committerZac Medico <zmedico@gentoo.org>2009-02-14 19:22:06 +0000
commitcd16c3db0e276b455a2a8dd021e836efa1328bc5 (patch)
tree7bc47a08c2e4b456ff291d058b939ca04fa061d3
parent4d0658e3dc0bca1854b8ede5dbc4eed7509d1d59 (diff)
downloadportage-cd16c3db0e276b455a2a8dd021e836efa1328bc5.tar.gz
portage-cd16c3db0e276b455a2a8dd021e836efa1328bc5.tar.bz2
portage-cd16c3db0e276b455a2a8dd021e836efa1328bc5.zip
Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl Porcel
<armin76@g.o> for reporting. svn path=/main/trunk/; revision=12609
-rwxr-xr-xbin/ebuild.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index 69f5919ad..032cd3ad2 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -1894,6 +1894,9 @@ if ! hasq "$EBUILD_PHASE" clean cleanrm && \
unset ECLASS E_IUSE E_DEPEND E_RDEPEND E_PDEPEND
set +f
+
+ # This needs to be exported since prepstrip is a separate shell script.
+ [[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED
fi
# Set default EAPI if necessary, so that most