[Python-checkins] r86165 - in python/branches/py3k: PC/VC6/build_ssl.py PC/VS8.0/build_ssl.py PCbuild/build_ssl.py
hirokazu.yamamoto
python-checkins at python.org
Thu Nov 4 15:11:33 CET 2010
Author: hirokazu.yamamoto
Date: Thu Nov 4 15:11:32 2010
New Revision: 86165
Log:
Can build older OpenSSL in http://svn.python.org/projects/externals/ again.
Modified:
python/branches/py3k/PC/VC6/build_ssl.py
python/branches/py3k/PC/VS8.0/build_ssl.py
python/branches/py3k/PCbuild/build_ssl.py
Modified: python/branches/py3k/PC/VC6/build_ssl.py
==============================================================================
--- python/branches/py3k/PC/VC6/build_ssl.py (original)
+++ python/branches/py3k/PC/VC6/build_ssl.py Thu Nov 4 15:11:32 2010
@@ -194,7 +194,7 @@
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):
Modified: python/branches/py3k/PC/VS8.0/build_ssl.py
==============================================================================
--- python/branches/py3k/PC/VS8.0/build_ssl.py (original)
+++ python/branches/py3k/PC/VS8.0/build_ssl.py Thu Nov 4 15:11:32 2010
@@ -242,7 +242,7 @@
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):
Modified: python/branches/py3k/PCbuild/build_ssl.py
==============================================================================
--- python/branches/py3k/PCbuild/build_ssl.py (original)
+++ python/branches/py3k/PCbuild/build_ssl.py Thu Nov 4 15:11:32 2010
@@ -242,7 +242,7 @@
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):
More information about the Python-checkins
mailing list