aboutsummaryrefslogtreecommitdiffstats
path: root/utils.py
diff options
context:
space:
mode:
authorRobin Dunn <robin@alldunn.com>2013-05-30 18:52:03 -0700
committerRobin Dunn <robin@alldunn.com>2013-06-03 13:36:09 -0700
commitfb302dea64df39ca85df9a4316ec796c28841474 (patch)
treec2a1cabadf656cbbefe2407a6ca9bb4202d638ff /utils.py
parent26b16434a7471f5e16f1ac0b3b2140841eb10430 (diff)
Fix path updates to not store the lower() version of the original path values.
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 02f09fbd..2f58bb8f 100644
--- a/utils.py
+++ b/utils.py
@@ -59,7 +59,7 @@ def update_env_path(newpaths, logger):
if not path.lower() in paths:
logger.info("Inserting path \"%s\" to environment" % path)
paths.insert(0, path)
- os.environ['PATH'] = os.pathsep.join(paths)
+ os.environ['PATH'] = path + os.pathsep + os.environ['PATH']
def find_vcvarsall(version):