Commit de5919dc authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Can build older OpenSSL in http://svn.python.org/projects/externals/

without Perl again.
parent f5b5760d
...@@ -194,7 +194,7 @@ def main(): ...@@ -194,7 +194,7 @@ def main():
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
# If the assembler files don't exist in tmpXX, copy them there # 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): if not os.path.exists("tmp"+dirsuffix):
os.mkdir("tmp"+dirsuffix) os.mkdir("tmp"+dirsuffix)
for f in os.listdir("asm"+dirsuffix): for f in os.listdir("asm"+dirsuffix):
......
...@@ -242,7 +242,7 @@ def main(): ...@@ -242,7 +242,7 @@ def main():
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
# If the assembler files don't exist in tmpXX, copy them there # 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): if not os.path.exists("tmp"+dirsuffix):
os.mkdir("tmp"+dirsuffix) os.mkdir("tmp"+dirsuffix)
for f in os.listdir("asm"+dirsuffix): for f in os.listdir("asm"+dirsuffix):
......
...@@ -242,7 +242,7 @@ def main(): ...@@ -242,7 +242,7 @@ def main():
copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch) copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
# If the assembler files don't exist in tmpXX, copy them there # 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): if not os.path.exists("tmp"+dirsuffix):
os.mkdir("tmp"+dirsuffix) os.mkdir("tmp"+dirsuffix)
for f in os.listdir("asm"+dirsuffix): for f in os.listdir("asm"+dirsuffix):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment