From dbece59ad69d718651895978e4441cf700c633cc Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 12 Nov 2015 15:57:36 -0800 Subject: [PATCH] Don't remove path to sh from $PATH It is done in CMake config now. --- support/bootstrap/bootstrap-windows.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/support/bootstrap/bootstrap-windows.py b/support/bootstrap/bootstrap-windows.py index 6b0cdd375..101ef3179 100644 --- a/support/bootstrap/bootstrap-windows.py +++ b/support/bootstrap/bootstrap-windows.py @@ -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