From 94aea3524eee12df400b351707307c32a2b23426 Mon Sep 17 00:00:00 2001 From: Gatsby Van Date: Tue, 5 Nov 2024 23:49:32 +0800 Subject: [PATCH] chore: fix typo --- template.bat | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/template.bat b/template.bat index 93837b5..66f2a49 100644 --- a/template.bat +++ b/template.bat @@ -1,14 +1,14 @@ @echo off set "platform=xilinx" -set "pltform_ver=2019.1" +set "platform_ver=2019.1" set "work_dir=%~dp0build" set "config=%~dp0config.json" set "tools_dir=%~dp0scripts\platform\%platform%" -REM Set up enviroment -call "%tools_dir%\setenv.bat" "%pltform_ver%" +REM Set up environment +call "%tools_dir%\setenv.bat" "%platform_ver%" if "%ERRORLEVEL%" neq "0" ( - echo Error: Failed to installize enviroment. + echo Error: Failed to initialize environment. pause >nul exit /b 1 ) @@ -21,8 +21,8 @@ if "%ERRORLEVEL%" neq "0" ( exit /b 1 ) -REM Lauch SDK -call "%tools_dir%\launch.bat" "%pltform_ver%" "%work_dir%" +REM Launch SDK +call "%tools_dir%\launch.bat" "%platform_ver%" "%work_dir%" if "%ERRORLEVEL%" neq "0" ( echo Error: Failed to launch SDK. pause >nul