From 5f326637142caa13767cea785613d522807b39e5 Mon Sep 17 00:00:00 2001 From: yuyi Date: Fri, 20 Mar 2020 23:40:49 +0800 Subject: [PATCH] make.bat: fix not at root dir error --- make.bat | 4 ++++ 1 file changed, 4 insertions(+) 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