Author: peterw
Date: Wed Dec 5 22:42:12 2007
New Revision: 31021
URL:
http://svn.reactos.org/svn/reactos?rev=31021&view=rev
Log:
- Make 'chdefgcc' bail if no MinGW/GCC is found in the given path.
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/chd…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/chdefgcc.cmd Wed Dec 5 22:42:12 2007
@@ -25,6 +25,10 @@
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"