VisualStudioProjects: Fixed prebuild event logic to properly detect and handle windows-build version replacement/upgrade

This commit is contained in:
Mark Pizzolato 2014-10-28 21:01:10 -07:00
parent e685e95d21
commit 41238c5bbe

View file

@ -75,8 +75,8 @@ rem top level directory named as it existed in the zip file.
rem We rename that top level directory. If a previous one already rem We rename that top level directory. If a previous one already
rem exists, that will be an older version, so we try to remove rem exists, that will be an older version, so we try to remove
rem that one first. rem that one first.
if exist ../../windows-build rmdir /s /q ../../windows-build if exist ..\..\windows-build rmdir /s /q ..\..\windows-build
ren /Y ../../windows-build-windows-build windows-build ren ..\..\windows-build-windows-build windows-build
if errorlevel 1 goto _notice3 if errorlevel 1 goto _notice3
if exist ../../windows-build-windows-build goto _notice3 if exist ../../windows-build-windows-build goto _notice3
:_check_files :_check_files