Author: David Schneider <[email protected]>
Branch: 
Changeset: r59018:b4e4017909ba
Date: 2012-11-20 09:48 +0100
http://bitbucket.org/pypy/pypy/changeset/b4e4017909ba/

Log:    Add quotes around the PYPYDIR path in the generated Makefile, in
        case there are spaces in the path

diff --git a/pypy/translator/platform/posix.py 
b/pypy/translator/platform/posix.py
--- a/pypy/translator/platform/posix.py
+++ b/pypy/translator/platform/posix.py
@@ -139,7 +139,7 @@
 
         m.comment('automatically generated makefile')
         definitions = [
-            ('PYPYDIR', autopath.pypydir),
+            ('PYPYDIR', '"%s"' % autopath.pypydir),
             ('TARGET', target_name),
             ('DEFAULT_TARGET', exe_name.basename),
             ('SOURCES', rel_cfiles),
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to