diff options
author | Richard Levitte <levitte@openssl.org> | 2002-06-14 01:11:57 +0400 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-06-14 01:11:57 +0400 |
commit | 4fac53a7570f9bcb2b3e62cc7d7892119703139f (patch) | |
tree | 37904bf4359aab6d4f628c85cbcddc50dbc45390 /config | |
parent | 11198b78a2da5f877899260bfa0e71ef62d42866 (diff) |
Make sure that any dash in the prefix before the version number is removed.
PR: 96
Diffstat (limited to 'config')
-rwxr-xr-x | config | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -396,7 +396,7 @@ if [ "$GCCVER" != "" ]; then # then strip off whatever prefix Cygnus as well as GCC 3.1 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 | sed 's/^[a-zA-Z ()---]*//'` # peak single digit before and after first dot, e.g. 2.95.1 gives 29 GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'` else |