[pypy-svn] r69197 - pypy/trunk/pypy/translator

antocuni at codespeak.net antocuni at codespeak.net
Wed Nov 11 19:10:42 CET 2009


Author: antocuni
Date: Wed Nov 11 19:10:41 2009
New Revision: 69197

Modified:
   pypy/trunk/pypy/translator/driver.py
Log:
aaargh, we use backslashes inside


Modified: pypy/trunk/pypy/translator/driver.py
==============================================================================
--- pypy/trunk/pypy/translator/driver.py	(original)
+++ pypy/trunk/pypy/translator/driver.py	Wed Nov 11 19:10:41 2009
@@ -599,7 +599,7 @@
             shutil.copy(os.path.join(usession_path, 'main.il'), dirname)
         newexename = basename
         f = file(newexename, 'w')
-        f.write("""#!/bin/bash
+        f.write(r"""#!/bin/bash
 LEDIT=`type -p ledit`
 EXE=`readlink $0`
 if [ -z $EXE ]



More information about the Pypy-commit mailing list