summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2006-12-09 16:00:11 +0000
committerMarius Mauch <genone@gentoo.org>2006-12-09 16:00:11 +0000
commitf0a2016359cc38b0b658c0ef08120a52a196eb0f (patch)
treeb3d5702fc320b5ac7ae19f4c7d3e6f1f619b1d95
parent369fab880132b8cdde19bd7771178be91a7399f0 (diff)
downloadportage-f0a2016359cc38b0b658c0ef08120a52a196eb0f.tar.gz
portage-f0a2016359cc38b0b658c0ef08120a52a196eb0f.tar.bz2
portage-f0a2016359cc38b0b658c0ef08120a52a196eb0f.zip
adjust QA_* variable names for complex values of like x86-fbsd
svn path=/main/trunk/; revision=5238
-rwxr-xr-xbin/misc-functions.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index b0c7e571f..7246b45e0 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -90,7 +90,7 @@ install_qa_check() {
# binary-only and upstream isn't cooperating (nvidia-glx) ... we
# allow ebuild authors to set QA_TEXTRELS_arch and QA_TEXTRELS ...
# the former overrides the latter ... regexes allowed ! :)
- qa_var="QA_TEXTRELS_${ARCH}"
+ qa_var="QA_TEXTRELS_${ARCH/-/_}"
[[ -n ${!qa_var} ]] && QA_TEXTRELS=${!qa_var}
[[ -n ${QA_STRICT_TEXTRELS} ]] && QA_TEXTRELS=""
export QA_TEXTRELS
@@ -127,10 +127,10 @@ install_qa_check() {
# QA_EXECSTACK ... the former overrides the latter ...
# regexes allowed ! :)
- qa_var="QA_EXECSTACK_${ARCH}"
+ qa_var="QA_EXECSTACK_${ARCH/-/_}"
[[ -n ${!qa_var} ]] && QA_EXECSTACK=${!qa_var}
[[ -n ${QA_STRICT_EXECSTACK} ]] && QA_EXECSTACK=""
- qa_var="QA_WX_LOAD_${ARCH}"
+ qa_var="QA_WX_LOAD_${ARCH/-/_}"
[[ -n ${!qa_var} ]] && QA_WX_LOAD=${!qa_var}
[[ -n ${QA_STRICT_WX_LOAD} ]] && QA_WX_LOAD=""
export QA_EXECSTACK QA_WX_LOAD