mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-05-06 06:29:42 +00:00
Make sure that any dash in the prefix before the version number is removed.
PR: 96
This commit is contained in:
parent
d5492d9b47
commit
d56f92ee78
2
config
2
config
@ -396,7 +396,7 @@ if [ "$GCCVER" != "" ]; then
|
|||||||
# then strip off whatever prefix Cygnus as well as GCC 3.1 prepends
|
# then strip off whatever prefix Cygnus as well as GCC 3.1 prepends
|
||||||
# the number with... Hopefully, this will work for any future prefixes
|
# the number with... Hopefully, this will work for any future prefixes
|
||||||
# as well.
|
# 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
|
# 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/'`
|
GCCVER=`echo $GCCVER | sed 's/\([0-9]\)\.\([0-9]\).*/\1\2/'`
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user