diff options
| author | Conor MacNeill <conor@apache.org> | 2003-07-10 11:49:08 +0000 |
|---|---|---|
| committer | Conor MacNeill <conor@apache.org> | 2003-07-10 11:49:08 +0000 |
| commit | 7ddc352a56d033117e82c46b98cab1e3281a1044 (patch) | |
| tree | 50d600785a459f3fbaf6f00251cf5cab5e57bda8 /src/script | |
| parent | 2b3ae7a24459d323532d97caebe6be9188d7e55c (diff) | |
| download | ant-7ddc352a56d033117e82c46b98cab1e3281a1044.tar.gz | |
Use language neutral variable, %ProgramFiles%, to locate Program Files dir
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
Diffstat (limited to 'src/script')
| -rwxr-xr-x | src/script/ant.bat | 6 |
1 files 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 |
