diff options
author | Nils Larsch <nils@openssl.org> | 2006-03-01 19:52:07 +0000 |
---|---|---|
committer | Nils Larsch <nils@openssl.org> | 2006-03-01 19:52:07 +0000 |
commit | 8bd0c77ae3f369ded26a6691649d4f9bf8b51bd0 (patch) | |
tree | d9bec78a4e9988428f8ace61f1e8b225caa55675 /config | |
parent | e2217e7ed57e90c7c9b5205c35c9842214581674 (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. |