Skip to content

Commit 35af643

Browse files
committed
Update configure.bat
Signed-off-by: Chin Yeung Li <[email protected]>
1 parent 311b0a1 commit 35af643

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

configure.bat

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@ set "CFG_BIN_DIR=%CFG_ROOT_DIR%\%VIRTUALENV_DIR%\Scripts"
5252
if exist "%CFG_ROOT_DIR%\thirdparty" (
5353
set PIP_EXTRA_ARGS=--find-links "%CFG_ROOT_DIR%\thirdparty"
5454
)
55-
56-
set "PIP_EXTRA_ARGS=%PIP_EXTRA_ARGS%" --find-links https://thirdparty.aboutcode.org/pypi & %INDEX_ARG%
57-
@rem ################################
55+
set "PIP_EXTRA_ARGS=%PIP_EXTRA_ARGS% --find-links https://thirdparty.aboutcode.org/pypi" & %INDEX_ARG%
5856

5957

6058
@rem ################################
@@ -67,15 +65,15 @@ if not defined CFG_QUIET (
6765
@rem ################################
6866
@rem # Main command line entry point
6967
set CFG_DEV_MODE=0
70-
set CFG_REQUIREMENTS=%REQUIREMENTS%
68+
set "CFG_REQUIREMENTS=%REQUIREMENTS%"
7169
set "NO_INDEX=--no-index"
7270

7371
:again
7472
if not "%1" == "" (
7573
if "%1" EQU "--help" (goto cli_help)
7674
if "%1" EQU "--clean" (goto clean)
7775
if "%1" EQU "--dev" (
78-
set CFG_REQUIREMENTS=%DEV_REQUIREMENTS%
76+
set "CFG_REQUIREMENTS=%DEV_REQUIREMENTS%"
7977
set CFG_DEV_MODE=1
8078
)
8179
if "%1" EQU "--init" (
@@ -204,4 +202,4 @@ for %%F in (%CLEANABLE%) do (
204202
rmdir /s /q "%CFG_ROOT_DIR%\%%F" >nul 2>&1
205203
del /f /q "%CFG_ROOT_DIR%\%%F" >nul 2>&1
206204
)
207-
exit /b 0
205+
exit /b 0

0 commit comments

Comments
 (0)