summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/CHANGES.txt3
-rw-r--r--src/engine/SCons/Platform/posix.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/CHANGES.txt b/src/CHANGES.txt
index e75d50d..885c744 100644
--- a/src/CHANGES.txt
+++ b/src/CHANGES.txt
@@ -33,6 +33,9 @@ RELEASE 0.95 - XXX
- More robust handling of data in VCComponents.dat.
+ - If the "env" command is available, spawn commands with the more
+ general "env -" instead of "env -i".
+
From Kerim Borchaev:
- Fix a typo in a msvc.py's registry lookup: "VCComponents.dat", not
diff --git a/src/engine/SCons/Platform/posix.py b/src/engine/SCons/Platform/posix.py
index e6b4b15..bc121e6 100644
--- a/src/engine/SCons/Platform/posix.py
+++ b/src/engine/SCons/Platform/posix.py
@@ -59,7 +59,7 @@ def escape(arg):
def _get_env_command(sh, escape, cmd, args, env):
if env:
- s = 'env -i '
+ s = 'env - '
for key in env.keys():
s = s + '%s=%s '%(key, escape(env[key]))
s = s + sh + ' -c '