From 22cbfdf0ba822d5ea70f0dfb044b25363033c371 Mon Sep 17 00:00:00 2001 From: yuyi Date: Sat, 12 Dec 2020 01:24:57 +0800 Subject: [PATCH] make.bat: fix --local mode (#7255) --- make.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/make.bat b/make.bat index 688edbc8b9..7b311bf4c5 100644 --- a/make.bat +++ b/make.bat @@ -136,10 +136,10 @@ if %ERRORLEVEL% NEQ 0 echo Invalid subcommand: !subcmd! exit /b %ERRORLEVEL% :build -call :download_tcc -if %ERRORLEVEL% NEQ 0 goto :error -del "!log_file!">NUL 2>&1 if !flag_local! NEQ 1 ( + call :download_tcc + if %ERRORLEVEL% NEQ 0 goto :error + del "!log_file!">NUL 2>&1 pushd "%vc_dir%" 2>NUL && ( echo Updating vc... echo ^> Sync with remote !vc_url!