Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit de5919d

Browse files
author
Hirokazu Yamamoto
committed
Can build older OpenSSL in http://svn.python.org/projects/externals/
without Perl again.
1 parent f5b5760 commit de5919d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

PC/VC6/build_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def main():
194194
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
195195

196196
# If the assembler files don't exist in tmpXX, copy them there
197-
if perl is None:
197+
if perl is None and os.path.exists("asm"+dirsuffix):
198198
if not os.path.exists("tmp"+dirsuffix):
199199
os.mkdir("tmp"+dirsuffix)
200200
for f in os.listdir("asm"+dirsuffix):

PC/VS8.0/build_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def main():
242242
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
243243

244244
# If the assembler files don't exist in tmpXX, copy them there
245-
if perl is None:
245+
if perl is None and os.path.exists("asm"+dirsuffix):
246246
if not os.path.exists("tmp"+dirsuffix):
247247
os.mkdir("tmp"+dirsuffix)
248248
for f in os.listdir("asm"+dirsuffix):

PCbuild/build_ssl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def main():
242242
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
243243

244244
# If the assembler files don't exist in tmpXX, copy them there
245-
if perl is None:
245+
if perl is None and os.path.exists("asm"+dirsuffix):
246246
if not os.path.exists("tmp"+dirsuffix):
247247
os.mkdir("tmp"+dirsuffix)
248248
for f in os.listdir("asm"+dirsuffix):

0 commit comments

Comments
 (0)