未验证 提交 d70e45bc 编写于 作者: S Sing_chan 提交者: GitHub

put set error_code infront to avoid being skipped (#43014)

上级 c9e7c407
......@@ -85,6 +85,9 @@ if not defined NEW_RELEASE_JIT set NEW_RELEASE_JIT=OFF
set task_name=%1
set UPLOAD_TP_FILE=OFF
set error_code=0
type %cache_dir%\error_code.txt
rem ------initialize set git config------
git config --global core.longpaths true
......@@ -118,8 +121,6 @@ if "%WITH_CACHE%"=="OFF" (
goto :mkbuild
)
set error_code=0
type %cache_dir%\error_code.txt
: set /p error_code=< %cache_dir%\error_code.txt
if %error_code% NEQ 0 (
rmdir %BUILD_DIR% /s/q
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册