New location of the examples.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 28 Feb 2011 19:16:22 +0000 (19:16 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 28 Feb 2011 19:16:22 +0000 (19:16 +0000)
org.glite.testsuites.ctb/LB/tests/lb-common.sh

index 352e274..6fef4cf 100755 (executable)
@@ -38,6 +38,12 @@ ulimit -c unlimited
 GLITE_LOCATION=${GLITE_LOCATION:-/opt/glite}
 SAME_SENSOR_HOME=${SAME_SENSOR_HOME:-.}
 PATH=$GLITE_LOCATION/bin:$GLITE_LOCATION/examples:$PATH
+for libdir in lib lib64; do
+       examples="$GLITE_LOCATION/$libdir/glite-lb/examples"
+       if test -d "$examples"; then
+               PATH="$examples:$PATH"
+       fi
+done
 export PATH
 
 # LB binaries