From 7ddc352a56d033117e82c46b98cab1e3281a1044 Mon Sep 17 00:00:00 2001 From: Conor MacNeill Date: Thu, 10 Jul 2003 11:49:08 +0000 Subject: [PATCH] Use language neutral variable, %ProgramFiles%, to locate Program Files dir MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR: 17308 Submitted by: Dennis M�ller git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@274802 13f79535-47bb-0310-9956-ffa450edef68 --- src/script/ant.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/script/ant.bat b/src/script/ant.bat index 5440e2597..6075466d9 100755 --- a/src/script/ant.bat +++ b/src/script/ant.bat @@ -31,9 +31,9 @@ rem find ANT_HOME if it does not exist due to either an invalid value passed 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