Bugfix: GCCVAR contains two lines ("Reading specs ..." and the actual
authorBodo Möller <bodo@openssl.org>
Wed, 19 May 1999 16:35:21 +0000 (16:35 +0000)
committerBodo Möller <bodo@openssl.org>
Wed, 19 May 1999 16:35:21 +0000 (16:35 +0000)
version), so we need
   echo $GCCVAR | sed ...
instead of
   echo "$GCCVAR" | sed ...
to process it as intended.

config

diff --git a/config b/config
index fe8108d4391e4997a98728a64314ab79f69d0336..56aad1d70b3748f8f61ce706294949214d0c8a0d 100755 (executable)
--- a/config
+++ b/config
@@ -333,7 +333,7 @@ esac
 # gcc < 2.8 does not support -mcpu=ultrasparc
 if [ "$OUT" = solaris-usparc-gcc ]
 then
- if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
+ if [ `echo $GCCVER | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
  then
   OUT=solaris-usparc-oldgcc
  fi