projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2994181
)
Make sure that any dash in the prefix before the version number is removed.
author
Richard Levitte
<levitte@openssl.org>
Thu, 13 Jun 2002 21:12:20 +0000
(21:12 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 13 Jun 2002 21:12:20 +0000
(21:12 +0000)
PR: 96
config
patch
|
blob
|
history
diff --git
a/config
b/config
index b24c231a9cb7bea9f4b2f4f8dcaeec99d0a5ce0e..215f982dc4cec3fbbc0523fbe7ae4d10e0ef7e3a 100755
(executable)
--- a/
config
+++ b/
config
@@
-387,7
+387,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