mirror of
https://github.com/reactos/RosBE.git
synced 2025-02-25 22:07:14 +00:00
- Final fix for 'chdefgcc'... honest.
svn path=/trunk/tools/RosBE/; revision=607
This commit is contained in:
parent
6fa28ac4ff
commit
b10707436a
@ -15,10 +15,9 @@ if "%_ROSBE_MODE%" == "RosBE" (
|
|||||||
::
|
::
|
||||||
:: Parse the command line arguments.
|
:: Parse the command line arguments.
|
||||||
::
|
::
|
||||||
if %1 == "" (
|
for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %1"`) do set _1=%%i
|
||||||
|
if "%1" == "" (
|
||||||
call :INTERACTIVE
|
call :INTERACTIVE
|
||||||
) else (
|
|
||||||
for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %1"`) do set _1=%%i
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if not exist "%_1%\." (
|
if not exist "%_1%\." (
|
||||||
@ -37,6 +36,7 @@ goto :EOC
|
|||||||
|
|
||||||
:INTERACTIVE
|
:INTERACTIVE
|
||||||
set /p _1="Please enter a MinGW/GCC directory: "
|
set /p _1="Please enter a MinGW/GCC directory: "
|
||||||
|
for /f "usebackq tokens=*" %%i in (`""%_ROSBE_BASEDIR%\Tools\rquote.exe" %_1%"`) do set _1=%%i
|
||||||
if "%_1%" == "" (
|
if "%_1%" == "" (
|
||||||
echo ERROR: You must enter a MinGW/GCC directory.
|
echo ERROR: You must enter a MinGW/GCC directory.
|
||||||
goto :EOC
|
goto :EOC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user