summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/misc-functions.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh
index f5e0dc430..9879a83dd 100755
--- a/bin/misc-functions.sh
+++ b/bin/misc-functions.sh
@@ -292,7 +292,8 @@ install_qa_check() {
i=0
while [[ -n ${msgs[${i}]} ]] ; do
m=${msgs[$((i++))]}
- f=$(grep "${m}" "${PORTAGE_LOG_FILE}")
+ # force C locale to work around slow unicode locales #160234
+ f=$(LC_ALL=C grep "${m}" "${PORTAGE_LOG_FILE}")
if [[ -n ${f} ]] ; then
vecho -ne '\a\n'
vecho "QA Notice: Package has poor programming practices which may compile"