mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
[CONFIGURE] Fix warnings shown when parsing cmdline
This commit is contained in:
parent
af9df93274
commit
3feb0cfb9f
1 changed files with 4 additions and 4 deletions
|
@ -87,8 +87,8 @@ REM Parse command line parameters
|
||||||
echo Please run this command in a [Developer] Command Prompt for Visual Studio.
|
echo Please run this command in a [Developer] Command Prompt for Visual Studio.
|
||||||
goto quit
|
goto quit
|
||||||
) else if /I "%1" NEQ "" (
|
) else if /I "%1" NEQ "" (
|
||||||
echo %1| find /I "-D" > NUL
|
echo.%1| find /I "-D" >nul 2>&1
|
||||||
if %ERRORLEVEL% == 0 (
|
if not errorlevel 1 (
|
||||||
REM User is passing a switch to CMake
|
REM User is passing a switch to CMake
|
||||||
REM Ignore it, and ignore the next parameter that follows
|
REM Ignore it, and ignore the next parameter that follows
|
||||||
Shift
|
Shift
|
||||||
|
@ -123,8 +123,8 @@ REM Parse command line parameters
|
||||||
set CMAKE_ARCH=-A ARM
|
set CMAKE_ARCH=-A ARM
|
||||||
)
|
)
|
||||||
) else if /I "%1" NEQ "" (
|
) else if /I "%1" NEQ "" (
|
||||||
echo %1| find /I "-D" > NUL
|
echo.%1| find /I "-D" >nul 2>&1
|
||||||
if %ERRORLEVEL% == 0 (
|
if not errorlevel 1 (
|
||||||
REM User is passing a switch to CMake
|
REM User is passing a switch to CMake
|
||||||
REM Ignore it, and ignore the next parameter that follows
|
REM Ignore it, and ignore the next parameter that follows
|
||||||
Shift
|
Shift
|
||||||
|
|
Loading…
Reference in a new issue