make sure we can deal with arches like x86-fbsd, like is done in bin/ebuild-helpers...
authorFabian Groffen <grobian@gentoo.org>
Mon, 24 Aug 2009 10:15:54 +0000 (10:15 -0000)
committerFabian Groffen <grobian@gentoo.org>
Mon, 24 Aug 2009 10:15:54 +0000 (10:15 -0000)
svn path=/main/trunk/; revision=14151

bin/ebuild.sh

index e45976642216c7dfc5ba7caf877fe612683bc510..8d65412f10c266f3037c212094f908ccd466ffe0 100755 (executable)
@@ -1841,7 +1841,7 @@ _source_ebuild() {
 
        # This needs to be exported since prepstrip is a separate shell script.
        [[ -n $QA_PRESTRIPPED ]] && export QA_PRESTRIPPED
-       eval "[[ -n \$QA_PRESTRIPPED_$ARCH ]] && export QA_PRESTRIPPED_$ARCH"
+       eval "[[ -n \$QA_PRESTRIPPED_${ARCH/-/_} ]] && export QA_PRESTRIPPED_${ARCH/-/_}"
 }
 
 if ! hasq "$EBUILD_PHASE" clean cleanrm ; then