summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorNils Larsch <nils@openssl.org>2006-03-01 19:51:37 +0000
committerNils Larsch <nils@openssl.org>2006-03-01 19:51:37 +0000
commitf2c33fa6fd242d6e72729d4b21b4d5e7d6f6293d (patch)
tree111eef4960b2c6b144adbf44b2472f3b31ce2296 /config
parent5aae935038a48202b7892a97dea6d4e08719d18b (diff)
downloadopenssl-new-f2c33fa6fd242d6e72729d4b21b4d5e7d6f6293d.tar.gz
force C locale when using [a-z] in sed expressions
PR: 1283 Submitted by: Mike Frysinger
Diffstat (limited to 'config')
-rwxr-xr-xconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/config b/config
index 82c57efb7c..6583959479 100755
--- a/config
+++ b/config
@@ -406,7 +406,7 @@ if [ "$GCCVER" != "" ]; then
CC=gcc
# then strip off whatever prefix egcs prepends the number with...
# Hopefully, this will work for any future prefixes as well.
- GCCVER=`echo $GCCVER | sed 's/^[a-zA-Z]*\-//'`
+ GCCVER=`echo $GCCVER | LC_ALL=C sed 's/^[a-zA-Z]*\-//'`
# Since gcc 3.1 gcc --version behaviour has changed. gcc -dumpversion
# does give us what we want though, so we use that. We just just the
# major and minor version numbers.