From 3b8fad1d8546561632546e868b7e7b5cab780d75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 2 Mar 2011 20:19:33 +0000 Subject: [PATCH] Update locations. --- org.glite.testsuites.ctb/LB/tests/lb-common.sh | 3 ++- org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/org.glite.testsuites.ctb/LB/tests/lb-common.sh b/org.glite.testsuites.ctb/LB/tests/lb-common.sh index 6fef4cf..a65f66e 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-common.sh +++ b/org.glite.testsuites.ctb/LB/tests/lb-common.sh @@ -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 diff --git a/org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl b/org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl index 4958ee1..544ea8d 100755 --- a/org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl +++ b/org.glite.testsuites.ctb/LB/tests/lb-test-purge.pl @@ -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"; -- 1.8.2.3