OS: Linux ubuntu 3.2.0-31-generic #50-Ubuntu SMP Fri Sep 7 16:16:45 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux
Version: 1.1.0-dev, since commit a59f43629583b4a73c3d28ddac2c3d5a49127ece

Previously, config could match $OUT-$CC and $OUT with
only part of a line output by ./Configure LIST, and
would incorrectly think the value is valid. Now, it
makes sure the entire line is exactly matched.
---
 config | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/config b/config
index a019f20..f793632 100755
--- a/config
+++ b/config
@@ -966,14 +966,14 @@ fi
 # compiler for the platform ... in which case we add it on
 # the end ... otherwise we leave it off

-$PERL ./Configure LIST | grep "$OUT-$CC" > /dev/null
+$PERL ./Configure LIST | grep ^"$OUT-$CC"$ > /dev/null
 if [ $? = "0" ]; then
   OUT="$OUT-$CC"
 fi

 OUT="$PREFIX$OUT"

-$PERL ./Configure LIST | grep "$OUT" > /dev/null
+$PERL ./Configure LIST | grep ^"$OUT"$ > /dev/null
 if [ $? = "0" ]; then
   echo Configuring for $OUT

-- 
1.7.12.1

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to