| Index: bootstrap/win/win_tools.bat
|
| diff --git a/bootstrap/win/win_tools.bat b/bootstrap/win/win_tools.bat
|
| index 278376fcc27755108eda12538eceafc5659ae54e..02a1b310bcf7c7c733ff3b5e98cbd3266709e12b 100644
|
| --- a/bootstrap/win/win_tools.bat
|
| +++ b/bootstrap/win/win_tools.bat
|
| @@ -68,8 +68,8 @@ if %VERMAJOR% lss 5 set GIT_VERSION=%GIT_VERSION%-xp
|
| if %VERMAJOR% equ 5 if %VERMINOR% lss 2 set GIT_VERSION=%GIT_VERSION%-xp
|
|
|
| :: Clean up any release which doesn't match the one we want.
|
| -for /d %%i in (%WIN_TOOLS_ROOT_DIR%\git-*_bin) do (
|
| - if not %%i == %WIN_TOOLS_ROOT_DIR%\git-%GIT_VERSION%_bin (
|
| +for /d %%i in ("%WIN_TOOLS_ROOT_DIR%\git-*_bin") do (
|
| + if not "%%i" == "%WIN_TOOLS_ROOT_DIR%\git-%GIT_VERSION%_bin" (
|
| rmdir /s /q "%%i"
|
| )
|
| )
|
|
|