cleanup.
authordousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 26 Jun 2002 14:21:07 +0000 (14:21 +0000)
committerdousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 26 Jun 2002 14:21:07 +0000 (14:21 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@200 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

bin/ArpUtil

index d489701..81b8d84 100755 (executable)
@@ -1,8 +1,14 @@
 #!/bin/sh
 
+#Where log4j config file is
+LOG_CONFIG=../webApplication/WEB-INF/conf/log4j.properties
+
+#Where ARPs directory is
+ARP_DIR=../webApplication/arps
+
 if [ -n JAVA_HOME ]
        then
-               $JAVA_HOME/bin/java -Dlog.config=../webApplication/WEB-INF/conf/log4j.properties -Darp.dir=../webApplication/arps -cp ../dist/shib-util.jar:../lib/log4j-1.2.3.jar edu.internet2.middleware.shibboleth.aa.arpUtil.ArpUtil $@
+               $JAVA_HOME/bin/java -Dlog.config=$LOG_CONFIG -Darp.dir=$ARP_DIR -cp ../dist/shib-util.jar:../lib/log4j-1.2.3.jar edu.internet2.middleware.shibboleth.aa.arpUtil.ArpUtil $@
        else
                echo "JAVA_HOME not set."
 fi