From d943a52ab03df9eed64dbdb51de1766e1c7900d2 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Mon, 24 Aug 2009 10:15:54 +0000 Subject: make sure we can deal with arches like x86-fbsd, like is done in bin/ebuild-helpers/prepstrip svn path=/main/trunk/; revision=14151 --- bin/ebuild.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ebuild.sh') diff --git a/bin/ebuild.sh b/bin/ebuild.sh index e45976642..8d65412f1 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -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 -- cgit v1.2.3-1-g7c22