Commits

Armin Rigo committed af2e275

Bah, thanks mjacob for spotting that 7812ad72a634 doesn't have
any effect.

  • Participants
  • Parent commits 3f01d4d

Comments (0)

Files changed (1)

File rpython/translator/driver.py

             targetdir = cbuilder.targetdir
             fname = dump_static_data_info(self.log, database, targetdir)
             dstname = self.compute_exe_name() + '.staticdata.info'
-            shutil.copy(str(fname), str(dstname))
+            shutil_copy(str(fname), str(dstname))
             self.log.info('Static data info written to %s' % dstname)
 
     def compute_exe_name(self):
         if self.exe_name is not None:
             exename = self.c_entryp
             newexename = mkexename(self.compute_exe_name())
-            shutil.copy(str(exename), str(newexename))
+            shutil_copy(str(exename), str(newexename))
             if self.cbuilder.shared_library_name is not None:
                 soname = self.cbuilder.shared_library_name
                 newsoname = newexename.new(basename=soname.basename)
-                shutil.copy(str(soname), str(newsoname))
+                shutil_copy(str(soname), str(newsoname))
                 self.log.info("copied: %s" % (newsoname,))
                 if sys.platform == 'win32':
                     # the import library is named python27.lib, according