From de5919dca7dba9d5f72afcccae34401c07a1c3b8 Mon Sep 17 00:00:00 2001 From: Hirokazu Yamamoto Date: Thu, 4 Nov 2010 14:11:32 +0000 Subject: Can build older OpenSSL in http://svn.python.org/projects/externals/ without Perl again. --- PC/VC6/build_ssl.py | 2 +- PC/VS8.0/build_ssl.py | 2 +- PCbuild/build_ssl.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/PC/VC6/build_ssl.py b/PC/VC6/build_ssl.py index 2acb3e3..95af084 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 587709e..dc13ef5 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 4556cbc..2cf7fc6 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): -- cgit v0.12