ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: ant/src/script ant.bat
Date Thu, 10 Jul 2003 11:49:08 GMT
conor       2003/07/10 04:49:08

  Modified:    src/script ant.bat
  Log:
  Use language neutral variable, %ProgramFiles%, to locate Program Files dir
  
  PR:	17308
  Submitted by:	Dennis Müller
  
  Revision  Changes    Path
  1.32      +3 -3      ant/src/script/ant.bat
  
  Index: ant.bat
  ===================================================================
  RCS file: /home/cvs/ant/src/script/ant.bat,v
  retrieving revision 1.31
  retrieving revision 1.32
  diff -u -w -u -r1.31 -r1.32
  --- ant.bat	10 Jul 2003 11:29:38 -0000	1.31
  +++ ant.bat	10 Jul 2003 11:49:08 -0000	1.32
  @@ -31,9 +31,9 @@
   rem by the user or the %0 problem on Windows 9x
   if exist "%ANT_HOME%\lib\ant.jar" goto checkJava
   
  -rem check for ant in Program Files on system drive
  -if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
  -set ANT_HOME=%SystemDrive%\Program Files\ant
  +rem check for ant in Program Files
  +if not exist "%ProgramFiles%\ant" goto checkSystemDrive
  +set ANT_HOME=%ProgramFiles%\ant
   goto checkJava
   
   :checkSystemDrive
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message