summaryrefslogtreecommitdiff
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 /bin/misc-functions.sh
parentrevert previous changes ... ruby.eclass is wrongly polluting env with nullglob (diff)
downloadportage-multirepo-d46f13f06fc643c713c62e233dbef5c3d1ef12df.tar.gz
portage-multirepo-d46f13f06fc643c713c62e233dbef5c3d1ef12df.tar.bz2
portage-multirepo-d46f13f06fc643c713c62e233dbef5c3d1ef12df.zip
force C locale for now when parsing gcc log files #160234
svn path=/main/trunk/; revision=5469
Diffstat (limited to 'bin/misc-functions.sh')
-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 f5e0dc43..9879a83d 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"