##// END OF EJS Templates
setup: pass LD_LIBRARY_PATH to subprocess when determining version.
Christian Boos -
r9856:ed362d41 default
parent child Browse files
Show More
@@ -121,6 +121,8 b" if os.path.isdir('.hg'):"
121 env = {'PYTHONPATH': os.pathsep.join(pypath),
121 env = {'PYTHONPATH': os.pathsep.join(pypath),
122 'HGRCPATH': '',
122 'HGRCPATH': '',
123 'LANGUAGE': 'C'}
123 'LANGUAGE': 'C'}
124 if 'LD_LIBRARY_PATH' in os.environ:
125 env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH']
124 if 'SystemRoot' in os.environ:
126 if 'SystemRoot' in os.environ:
125 # Copy SystemRoot into the custom environment for Python 2.6
127 # Copy SystemRoot into the custom environment for Python 2.6
126 # under Windows. Otherwise, the subprocess will fail with
128 # under Windows. Otherwise, the subprocess will fail with
General Comments 0
You need to be logged in to leave comments. Login now