Skip to content

Commit

Permalink
Don't remove path to sh from $PATH
Browse files Browse the repository at this point in the history
It is done in CMake config now.
  • Loading branch information
vitaut committed Nov 12, 2015
1 parent c8740d2 commit dbece59
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions support/bootstrap/bootstrap-windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,16 +125,6 @@ def install_mingw(arch):
# Specifies whether to restart BuildBot service.
restart = False

# Remove sh.exe from the path as it breaks MinGW makefile generation.
paths = os.environ['PATH'].split(os.pathsep)
for path in paths:
if os.path.exists(os.path.join(path, "sh.exe")):
print('Removing', path, 'from $PATH')
paths.remove(path)
restart = True
os.environ['PATH'] = os.pathsep.join(paths)
check_call(['setx', '/m', 'PATH', os.environ['PATH']])

import win32serviceutil
import _winreg as reg

Expand Down

0 comments on commit dbece59

Please sign in to comment.