]> granicus.if.org Git - python/commitdiff
Can build older OpenSSL in http://svn.python.org/projects/externals/
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Thu, 4 Nov 2010 14:11:32 +0000 (14:11 +0000)
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>
Thu, 4 Nov 2010 14:11:32 +0000 (14:11 +0000)
without Perl again.

PC/VC6/build_ssl.py
PC/VS8.0/build_ssl.py
PCbuild/build_ssl.py

index 2acb3e31dd0f33bb6520551c218abac7550f062a..95af084afe802275b0ead864251721310a3b8e84 100644 (file)
@@ -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):
index 587709eae0422ba66be581a40600eca026340080..dc13ef5709b43cbbfef0f5b03cd05b939bf8501e 100644 (file)
@@ -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):
index 4556cbcaca1670887c14a6d2077b24c18504fdab..2cf7fc68835aeee871a802744e3060cc7cc52064 100644 (file)
@@ -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):