diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-01 19:51:37 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-01 19:51:37 +0000 |
commit | f2c33fa6fd242d6e72729d4b21b4d5e7d6f6293d (patch) | |
tree | 111eef4960b2c6b144adbf44b2472f3b31ce2296 /config | |
parent | 5aae935038a48202b7892a97dea6d4e08719d18b (diff) |
force C locale when using [a-z] in sed expressions
PR: 1283
Submitted by: Mike Frysinger
Diffstat (limited to 'config')
-rwxr-xr-x | config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |