diff --git a/make.bat b/make.bat index a822b2d505..fab12df3c0 100644 --- a/make.bat +++ b/make.bat @@ -2,6 +2,8 @@ echo Building V +pushd %~dp0 + if exist "vc" ( rd /s /q vc ) @@ -110,8 +112,10 @@ goto :error :error echo Exiting from error +popd exit /b 1 :success echo V build OK! v -version +popd