Author: peterw Date: Wed Dec 5 23:02:49 2007 New Revision: 31023
URL: http://svn.reactos.org/svn/reactos?rev=31023&view=rev Log: - Fix a problem with spaces in 'chdefgcc' and add the correct error msg for no GCC being found.
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/chde... ============================================================================== --- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd (original) +++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd Wed Dec 5 23:02:49 2007 @@ -15,10 +15,10 @@ :: :: Parse the command line arguments. :: -if "%1" == "" ( +if %1 == "" ( call :INTERACTIVE ) else ( - set _1=%1 + set _1="%1" )
if not exist "%_1%." ( @@ -26,7 +26,7 @@ goto :EOC ) if not exist "%_1%\bin\gcc.exe" ( - echo ERROR: The path specified doesn't seem to exist. + echo ERROR: No MinGW/GCC found in the specified path. goto :EOC ) set _ROSBE_MINGWPATH=%_1%