[pypy-svn] r45084 - pypy/dist/pypy/translator

antocuni at codespeak.net antocuni at codespeak.net
Sat Jul 14 16:52:18 CEST 2007


Author: antocuni
Date: Sat Jul 14 16:52:18 2007
New Revision: 45084

Modified:
   pypy/dist/pypy/translator/driver.py
Log:
copy also the IL file when requested



Modified: pypy/dist/pypy/translator/driver.py
==============================================================================
--- pypy/dist/pypy/translator/driver.py	(original)
+++ pypy/dist/pypy/translator/driver.py	Sat Jul 14 16:52:18 2007
@@ -678,6 +678,8 @@
             os.makedirs(dirname)
         shutil.copy(main_exe, dirname)
         shutil.copy(pypylib_dll, dirname)
+        if bool(os.getenv('PYPY_GENCLI_COPYIL')):
+            shutil.copy(os.path.join(usession_path, 'main.il'), dirname)
         newexename = basename
         f = file(newexename, 'w')
         f.write("""#!/bin/bash


More information about the pypy-svn mailing list