Author: mladen.turk(a)jboss.com
Date: 2007-12-13 05:33:49 -0500 (Thu, 13 Dec 2007)
New Revision: 1197
Modified:
trunk/build/windows/build.bat
Log:
Fix directory detection
Modified: trunk/build/windows/build.bat
===================================================================
--- trunk/build/windows/build.bat 2007-12-13 10:29:50 UTC (rev 1196)
+++ trunk/build/windows/build.bat 2007-12-13 10:33:49 UTC (rev 1197)
@@ -45,7 +45,7 @@
echo.
@if "%TOOLS_ROOT%" == "" set TOOLS_ROOT=C:\opt
-@if exist "%TOOLS_ROOT%\NUL" goto cmdSetTools
+@if exist "%TOOLS_ROOT%\" goto cmdSetTools
echo TOOLS_ROOT points to invalid directory %TOOLS_ROOT%
goto cmdEnd
@@ -57,7 +57,7 @@
set BUILD_OS=windows
@if "%CYGWIN_INSTALL_DIR%" == "" set CYGWIN_INSTALL_DIR=C:\cygwin
-@if exist "%CYGWIN_INSTALL_DIR%\NUL" goto cmdFoundCygwin
+@if exist "%CYGWIN_INSTALL_DIR%\" goto cmdFoundCygwin
echo CYGWIN_INSTALL_DIR points to invalid directory %CYGWIN_INSTALL_DIR%
goto cmdEnd
Show replies by date