Skip to content

Commit 23ea096

Browse files
committed
make error check in bld.bat wheel copy more general
1 parent 2eab098 commit 23ea096

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

conda-recipe/bld.bat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
REM A workaround for activate-dpcpp.bat issue to be addressed in 2021.4
32
set "LIB=%BUILD_PREFIX%\Library\lib;%BUILD_PREFIX%\compiler\lib;%LIB%"
43
set "INCLUDE=%BUILD_PREFIX%\include;%INCLUDE%"
@@ -65,5 +64,5 @@ for /f %%f in ('dir /b /S .\dist') do (
6564
:: Copy wheel package
6665
if NOT "%WHEELS_OUTPUT_FOLDER%"=="" (
6766
copy dist\dpctl*.whl %WHEELS_OUTPUT_FOLDER%
68-
if errorlevel 1 exit 1
67+
if %ERRORLEVEL% neq 0 exit 1
6968
)

0 commit comments

Comments
 (0)