Author: nicko Date: Fri Feb 17 11:25:53 2006 New Revision: 378601 URL: http://svn.apache.org/viewcvs?rev=378601&view=rev Log: Updated to support NAnt.exe path that contains spaces. Added quoting around variable.
Modified: logging/log4net/trunk/build.cmd Modified: logging/log4net/trunk/build.cmd URL: http://svn.apache.org/viewcvs/logging/log4net/trunk/build.cmd?rev=378601&r1=378600&r2=378601&view=diff ============================================================================== --- logging/log4net/trunk/build.cmd (original) +++ logging/log4net/trunk/build.cmd Fri Feb 17 11:25:53 2006 @@ -14,12 +14,12 @@ REM Try and determine if NAnt is in the PATH SET NANTEXE_PATH=nant.exe -%NANTEXE_PATH% -help >NUL: 2>NUL: +"%NANTEXE_PATH%" -help >NUL: 2>NUL: IF NOT ERRORLEVEL 1 goto FoundNAnt REM Try hard coded path for NAnt -SET NANTEXE_PATH=C:\net\nant-0.85-rc1\bin\nant.exe -%NANTEXE_PATH% -help >NUL: 2>NUL: +SET NANTEXE_PATH=C:\Program Files\NAnt\nant-0.85-nightly-2005-12-13\bin\nant.exe +"%NANTEXE_PATH%" -help >NUL: 2>NUL: IF NOT ERRORLEVEL 1 goto FoundNAnt REM We have not found NAnt