Update locations.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 2 Mar 2011 20:19:33 +0000 (20:19 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 2 Mar 2011 20:19:33 +0000 (20:19 +0000)
org.glite.testsuites.ctb/LB/tests/lb-common.sh
org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl

index 6fef4cf..a65f66e 100755 (executable)
@@ -35,7 +35,8 @@ source ${TEST_COMMON}
 ulimit -c unlimited
 
 # define variables
-GLITE_LOCATION=${GLITE_LOCATION:-/opt/glite}
+GLITE_LB_LOCATION=${GLITE_LB_LOCATION:-/opt/glite}
+GLITE_LOCATION=${GLITE_LB_LOCATION}
 SAME_SENSOR_HOME=${SAME_SENSOR_HOME:-.}
 PATH=$GLITE_LOCATION/bin:$GLITE_LOCATION/examples:$PATH
 for libdir in lib lib64; do
index 4958ee1..544ea8d 100755 (executable)
@@ -19,7 +19,8 @@
 use Term::ANSIColor;
 
 BEGIN{
-$inst = $ENV{GLITE_LOCATION};
+$inst = $ENV{GLITE_LB_LOCATION};
+$inst = $ENV{GLITE_LOCATION} unless $inst;
 $inst = "/opt/glite" unless $inst;
 $sbin = "$inst/sbin";
 $bin = "$inst/bin";