summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-06 01:36:44 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-06 01:36:44 +0000
commitd46f13f06fc643c713c62e233dbef5c3d1ef12df (patch)
tree6800e10f268765deae04a3c6bad6889924bcf86e
parentd3652945698b419f98525fa9979cc88df273cab1 (diff)
downloadportage-d46f13f06fc643c713c62e233dbef5c3d1ef12df.tar.gz
portage-d46f13f06fc643c713c62e233dbef5c3d1ef12df.tar.bz2
portage-d46f13f06fc643c713c62e233dbef5c3d1ef12df.zip
force C locale for now when parsing gcc log files #160234
svn path=/main/trunk/; revision=5469
-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"