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:
parent
597c2249e0
commit
22cbfdf0ba
6
make.bat
6
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!
|
||||
|
Loading…
Reference in New Issue
Block a user