diff options
author | George Hazan <ghazan@miranda.im> | 2017-09-28 21:25:05 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-09-28 21:25:05 +0300 |
commit | 06b43e58cb6fa1fdaab6a586dd762d94c9737ea0 (patch) | |
tree | 10ae7b29f5320c3d69aa214baf189784c028741f /tools/build_scripts/z2_PackPluginUpdater.bat | |
parent | e4fa578df9545982adf781b9c080f5ab4e71855c (diff) |
more fixes for VS2017 compilation
Diffstat (limited to 'tools/build_scripts/z2_PackPluginUpdater.bat')
-rw-r--r-- | tools/build_scripts/z2_PackPluginUpdater.bat | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tools/build_scripts/z2_PackPluginUpdater.bat b/tools/build_scripts/z2_PackPluginUpdater.bat index f200e2d07c..cf04dfa1ee 100644 --- a/tools/build_scripts/z2_PackPluginUpdater.bat +++ b/tools/build_scripts/z2_PackPluginUpdater.bat @@ -4,7 +4,10 @@ rem use with param 32 or 64 rem set target platform %tp% from first parameter set tp=%1 set dp=%2 -if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF) +if "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF) + +set comp=%3 +if "%comp%"=="" (echo "please specify target compiler folder!" && pause && goto :EOF) call a_SetVar%tp%.bat @@ -13,10 +16,10 @@ if exist %Arch% rd /Q /S "%Arch%" >nul rem making temp dirs mkdir %Arch% -if not exist "bin10\Release%tp%" goto EOF +if not exist "%comp%\Release%tp%" goto EOF :FILECHECK -pushd "bin10\Release%tp%" +pushd "%comp%\Release%tp%" if exist %Errors% del /F /Q %Errors% if exist %NoErrors% del /F /Q %NoErrors% for /f %%a in (..\..\z2_PackPluginUpdater_x%tp%.txt) do (if not exist %%a echo %%a >> %Errors%) |