Bug 1323901 - Bustage fix from glandium

This commit is contained in:
Carsten "Tomcat" Book 2016-12-28 09:29:31 +01:00
parent 74f8bb6e5e
commit 5615a8aaba

View File

@ -154,7 +154,7 @@ def find_program(file, paths=None):
for e in environ.get("PATHEXT", "").split(pathsep)]
# If '.exe' is not in exts then obviously this is Win9x and
# or a bogus PATHEXT, then use a reasonable default.
if '.exe' not in exts:
if '.exe' not in exts:
exts = ['.com', '.exe', '.bat']
else:
exts = None