chore: fix typo
This commit is contained in:
+6
-6
@@ -1,14 +1,14 @@
|
|||||||
@echo off
|
@echo off
|
||||||
set "platform=xilinx"
|
set "platform=xilinx"
|
||||||
set "pltform_ver=2019.1"
|
set "platform_ver=2019.1"
|
||||||
set "work_dir=%~dp0build"
|
set "work_dir=%~dp0build"
|
||||||
set "config=%~dp0config.json"
|
set "config=%~dp0config.json"
|
||||||
set "tools_dir=%~dp0scripts\platform\%platform%"
|
set "tools_dir=%~dp0scripts\platform\%platform%"
|
||||||
|
|
||||||
REM Set up enviroment
|
REM Set up environment
|
||||||
call "%tools_dir%\setenv.bat" "%pltform_ver%"
|
call "%tools_dir%\setenv.bat" "%platform_ver%"
|
||||||
if "%ERRORLEVEL%" neq "0" (
|
if "%ERRORLEVEL%" neq "0" (
|
||||||
echo Error: Failed to installize enviroment.
|
echo Error: Failed to initialize environment.
|
||||||
pause >nul
|
pause >nul
|
||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
@@ -21,8 +21,8 @@ if "%ERRORLEVEL%" neq "0" (
|
|||||||
exit /b 1
|
exit /b 1
|
||||||
)
|
)
|
||||||
|
|
||||||
REM Lauch SDK
|
REM Launch SDK
|
||||||
call "%tools_dir%\launch.bat" "%pltform_ver%" "%work_dir%"
|
call "%tools_dir%\launch.bat" "%platform_ver%" "%work_dir%"
|
||||||
if "%ERRORLEVEL%" neq "0" (
|
if "%ERRORLEVEL%" neq "0" (
|
||||||
echo Error: Failed to launch SDK.
|
echo Error: Failed to launch SDK.
|
||||||
pause >nul
|
pause >nul
|
||||||
|
|||||||
Reference in New Issue
Block a user