1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

make.bat: fix --local mode (#7255)

This commit is contained in:
yuyi 2020-12-12 01:24:57 +08:00 committed by GitHub
parent 597c2249e0
commit 22cbfdf0ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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!