summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PC/VC6/build_ssl.py2
-rw-r--r--PC/VS8.0/build_ssl.py2
-rw-r--r--PCbuild/build_ssl.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/PC/VC6/build_ssl.py b/PC/VC6/build_ssl.py
index 2acb3e3..95af084 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 587709e..dc13ef5 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):
diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
index 4556cbc..2cf7fc6 100644
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/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):