Automatically export QA_PRESTRIPPED if it's set. Thanks to Raúl Porcel
authorZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:08:39 +0000 (05:08 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 11 Mar 2009 05:08:39 +0000 (05:08 -0000)
<armin76@g.o> for reporting. (trunk r12609)

svn path=/main/branches/2.1.6/; revision=12887

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