Skip to content

Commit 4eabe80

Browse files
committed
Merge branch 'release/2.11' into lluo/fix_rtx_release_ci_bug_2.11
2 parents e9afcb3 + 1dfb2e1 commit 4eabe80

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

packaging/vc_env_helper.bat

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,10 @@ if "%VSDEVCMD_ARGS%" == "" (
2323

2424
set DISTUTILS_USE_SDK=1
2525

26-
set args=%1
27-
shift
28-
:start
29-
if [%1] == [] goto done
30-
set args=%args% %1
31-
shift
32-
goto start
33-
34-
:done
35-
if "%args%" == "" (
26+
if "%1"=="" (
3627
echo Usage: vc_env_helper.bat [command] [args]
3728
echo e.g. vc_env_helper.bat cl /c test.cpp
29+
exit /b 1
3830
)
3931

40-
%args% || exit /b 1
32+
%* || exit /b 1

0 commit comments

Comments
 (0)