forked from OSchip/llvm-project
Fix enviroment variables when running shell scripts
llvm-svn: 258217
This commit is contained in:
parent
ce10842036
commit
c467208791
|
@ -615,7 +615,7 @@ class Configuration(object):
|
|||
for k, v in self.env.items():
|
||||
exec_env_str += ' %s=%s' % (k, v)
|
||||
# Configure run env substitution.
|
||||
exec_str = ''
|
||||
exec_str = exec_env_str
|
||||
if self.lit_config.useValgrind:
|
||||
exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str
|
||||
sub.append(('%exec', exec_str))
|
||||
|
|
Loading…
Reference in New Issue