fix(platform/xilinx): reset %ERRORLEVEL% after user input to prevent errors from empty input
This commit is contained in:
@@ -24,6 +24,8 @@ set /p "xilinx_path=Enter Xilinx installation path (press Enter for default: %de
|
||||
if "%xilinx_path%"=="" (
|
||||
set "xilinx_path=%default_path%"
|
||||
)
|
||||
REM Reset ERRORLEVEL to avoid false error codes
|
||||
verify > nul
|
||||
|
||||
REM Convert version to integer
|
||||
for /f "tokens=1,2 delims=." %%a in ("%xilinx_version%") do (
|
||||
|
||||
Reference in New Issue
Block a user