summaryrefslogtreecommitdiff
path: root/PCbuild
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-21 16:05:47 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2010-09-21 16:05:47 +0000
commite31f7d9e2e7e3ada5bbc912d4c752fa9ce4c4f7e (patch)
tree8b75014905fa35603d86b51f5c3319622389c6f3 /PCbuild
parentf6350d2654070f008d47c84159c6ea1a6a0d394d (diff)
downloadcpython-git-e31f7d9e2e7e3ada5bbc912d4c752fa9ce4c4f7e.tar.gz
Revert r84902 before committing better solution.
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/build_ssl.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/PCbuild/build_ssl.py b/PCbuild/build_ssl.py
index 6b682e40f2..a75c1fbef3 100644
--- a/PCbuild/build_ssl.py
+++ b/PCbuild/build_ssl.py
@@ -224,15 +224,15 @@ def main():
if arch == "amd64":
create_makefile64(makefile, m32)
fix_makefile(makefile)
- shutil.copy2(r"crypto\buildinf.h", r"crypto\buildinf_%s.h" % arch)
- shutil.copy2(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
+ shutil.copy(r"crypto\buildinf.h", r"crypto\buildinf_%s.h" % arch)
+ shutil.copy(r"crypto\opensslconf.h", r"crypto\opensslconf_%s.h" % arch)
# If the assembler files don't exist in tmpXX, copy them there
if not os.path.exists("tmp"+dirsuffix):
os.mkdir("tmp"+dirsuffix)
for f in os.listdir("asm"+dirsuffix):
if not f.endswith(".asm"): continue
- shutil.copy2(r"asm%s\%s" % (dirsuffix, f), "tmp"+dirsuffix)
+ shutil.copy(r"asm%s\%s" % (dirsuffix, f), "tmp"+dirsuffix)
# Now run make.
if arch == "amd64":
@@ -241,8 +241,8 @@ def main():
print("ml64 assembler has failed.")
sys.exit(rc)
- shutil.copy2(r"crypto\buildinf_%s.h" % arch, r"crypto\buildinf.h")
- shutil.copy2(r"crypto\opensslconf_%s.h" % arch, r"crypto\opensslconf.h")
+ shutil.copy(r"crypto\buildinf_%s.h" % arch, r"crypto\buildinf.h")
+ shutil.copy(r"crypto\opensslconf_%s.h" % arch, r"crypto\opensslconf.h")
#makeCommand = "nmake /nologo PERL=\"%s\" -f \"%s\"" %(perl, makefile)
makeCommand = "nmake /nologo -f \"%s\"" % makefile