summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/wix.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/wix.py')
-rw-r--r--src/engine/SCons/Tool/wix.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/wix.py b/src/engine/SCons/Tool/wix.py
index b133947..3aa3375 100644
--- a/src/engine/SCons/Tool/wix.py
+++ b/src/engine/SCons/Tool/wix.py
@@ -69,6 +69,9 @@ def exists(env):
# add the install directory to light libpath.
#for path in os.environ['PATH'].split(os.pathsep):
for path in string.split(os.environ['PATH'], os.pathsep):
+ if not path:
+ continue
+
# workaround for some weird python win32 bug.
if path[0] == '"' and path[-1:]=='"':
path = path[1:-1]