[pypy-svn] r66215 - pypy/trunk/pypy/translator/platform

fijal at codespeak.net fijal at codespeak.net
Tue Jul 14 19:22:19 CEST 2009


Author: fijal
Date: Tue Jul 14 19:22:18 2009
New Revision: 66215

Modified:
   pypy/trunk/pypy/translator/platform/__init__.py
Log:
nicely inherit environment


Modified: pypy/trunk/pypy/translator/platform/__init__.py
==============================================================================
--- pypy/trunk/pypy/translator/platform/__init__.py	(original)
+++ pypy/trunk/pypy/translator/platform/__init__.py	Tue Jul 14 19:22:18 2009
@@ -74,7 +74,7 @@
 
     def execute(self, executable, args=None, env=None, compilation_info=None):
         if env is None:
-            env = {}
+            env = os.environ.copy()
         if compilation_info is not None:
             env['LD_LIBRARY_PATH'] = ':'.join(
                 [str(i) for i in compilation_info.library_dirs])



More information about the Pypy-commit mailing list