summaryrefslogtreecommitdiff
path: root/PC
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-11-04 14:11:32 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-11-04 14:11:32 +0000
commit43e9b7637b666c9d875157936a51f5b32cf9277e (patch)
tree976fd5e8db875f910b99f6748cd0ddf57749e0d5 /PC
parent39013d9089f2a9114c21b3f966fc681afaeb5a89 (diff)
downloadcpython-43e9b7637b666c9d875157936a51f5b32cf9277e.tar.gz
Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
Diffstat (limited to 'PC')
-rw-r--r--PC/VC6/build_ssl.py2
-rw-r--r--PC/VS8.0/build_ssl.py2
2 files changed, 2 insertions, 2 deletions
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):