summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-11-04 14:11:32 (GMT)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-11-04 14:11:32 (GMT)
commitde5919dca7dba9d5f72afcccae34401c07a1c3b8 (patch)
tree99ea2b12af21486e0d92f9e3755187183e91a538
parentf5b5760d737f61b773a5857821cdba7c5356673d (diff)
downloadcpython-de5919dca7dba9d5f72afcccae34401c07a1c3b8.zip
cpython-de5919dca7dba9d5f72afcccae34401c07a1c3b8.tar.gz
cpython-de5919dca7dba9d5f72afcccae34401c07a1c3b8.tar.bz2
Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
-rw-r--r--PC/VC6/build_ssl.py2
-rw-r--r--PC/VS8.0/build_ssl.py2
-rw-r--r--PCbuild/build_ssl.py2
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):