Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl Porcel
authorZac Medico <zmedico@gentoo.org>
Sat, 14 Feb 2009 19:22:06 +0000 (19:22 -0000)
committerZac Medico <zmedico@gentoo.org>
Sat, 14 Feb 2009 19:22:06 +0000 (19:22 -0000)
<armin76@g.o> for reporting.

svn path=/main/trunk/; revision=12609

bin/ebuild.sh

index 69f5919adfc1f4596a058654f74c5bdb05c6586b..032cd3ad25e9201d9cfee3b413c01af0055163f2 100755 (executable)
@@ -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