From: Hirokazu Yamamoto Date: Thu, 4 Nov 2010 14:11:32 +0000 (+0000) Subject: Can build older OpenSSL in http://svn.python.org/projects/externals/ X-Git-Tag: v3.2a4~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=de5919dca7dba9d5f72afcccae34401c07a1c3b8;p=python Can build older OpenSSL in http://svn.python.org/projects/externals/ without Perl again. --- diff --git a/PC/VC6/build_ssl.py b/PC/VC6/build_ssl.py index 2acb3e31dd..95af084afe 100644 --- a/PC/VC6/build_ssl.py +++ b/PC/VC6/build_ssl.py @@ -194,7 +194,7 @@ def main(): copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) # If the assembler files don't exist in tmpXX, copy them there - if perl is None: + if perl is None and os.path.exists("asm"+dirsuffix): if not os.path.exists("tmp"+dirsuffix): os.mkdir("tmp"+dirsuffix) for f in os.listdir("asm"+dirsuffix): diff --git a/PC/VS8.0/build_ssl.py b/PC/VS8.0/build_ssl.py index 587709eae0..dc13ef5709 100644 --- a/PC/VS8.0/build_ssl.py +++ b/PC/VS8.0/build_ssl.py @@ -242,7 +242,7 @@ def main(): copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) # If the assembler files don't exist in tmpXX, copy them there - if perl is None: + if perl is None and os.path.exists("asm"+dirsuffix): if not os.path.exists("tmp"+dirsuffix): os.mkdir("tmp"+dirsuffix) for f in os.listdir("asm"+dirsuffix): diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py index 4556cbcaca..2cf7fc6883 100644 --- a/PCbuild/build_ssl.py +++ b/PCbuild/build_ssl.py @@ -242,7 +242,7 @@ def main(): copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) # If the assembler files don't exist in tmpXX, copy them there - if perl is None: + if perl is None and os.path.exists("asm"+dirsuffix): if not os.path.exists("tmp"+dirsuffix): os.mkdir("tmp"+dirsuffix) for f in os.listdir("asm"+dirsuffix):