Stop relying on SHIB_HOME for ant, since that will be defined to another location.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 19 May 2005 04:33:31 +0000 (04:33 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 19 May 2005 04:33:31 +0000 (04:33 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1535 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

ant
ant.bat

diff --git a/ant b/ant
index 18f7979..5d37686 100755 (executable)
--- a/ant
+++ b/ant
@@ -9,11 +9,7 @@ case "`uname`" in
 esac
 
 #Find the necessary resources
 esac
 
 #Find the necessary resources
-if [ -n "$SHIB_HOME" ] ; then
-  ANT_HOME=$SHIB_HOME
-else
-  ANT_HOME=.
-fi
+ANT_HOME=.
 
 if [ -z "$JAVACMD" ] ; then 
   if [ -n "$JAVA_HOME"  ] ; then
 
 if [ -z "$JAVACMD" ] ; then 
   if [ -n "$JAVA_HOME"  ] ; then
diff --git a/ant.bat b/ant.bat
index 0ff5ec1..88a8aee 100644 (file)
--- a/ant.bat
+++ b/ant.bat
@@ -2,11 +2,7 @@
 setlocal
 
 REM Find the necessary resources
 setlocal
 
 REM Find the necessary resources
-if defined SHIB_HOME (
-  set ANT_HOME=%SHIB_HOME%
-) else (
-  set ANT_HOME=.
-)
+set ANT_HOME=.
 
 REM We need a JVM
 if not defined JAVA_HOME  (
 
 REM We need a JVM
 if not defined JAVA_HOME  (