diff options
author | Richard Levitte <levitte@openssl.org> | 2002-06-13 21:11:41 +0000 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-06-13 21:11:41 +0000 |
commit | d56f92ee782e1ad1d48ee788b12d813eb0cbacf6 (patch) | |
tree | 3b5a66ac4348da61ac8d0bf308e40d19cb02a0a1 /config | |
parent | d5492d9b47d4d55052f24c8a04c70a0516ac934d (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 |