- Make 'chdefgcc' bail if no MinGW/GCC is found in the given path.

svn path=/trunk/tools/RosBE/; revision=602
This commit is contained in:
Peter Ward 2007-12-05 19:42:12 +00:00
parent bf3a3d6f0c
commit abaa7beedd

View File

@ -25,6 +25,10 @@ if not exist "%_1%\." (
echo ERROR: The path specified doesn't seem to exist.
goto :EOC
)
if not exist "%_1%\bin\gcc.exe" (
echo ERROR: The path specified doesn't seem to exist.
goto :EOC
)
set _ROSBE_MINGWPATH=%_1%
echo Location: %_ROSBE_MINGWPATH%
call "%_ROSBE_BASEDIR%\rosbe-gcc-env.cmd"