Workaround SB #85209 for glite-info-provider-service <= 1.7.0.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 5 Oct 2011 14:32:01 +0000 (14:32 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 5 Oct 2011 14:32:01 +0000 (14:32 +0000)
org.glite.lb.yaim/config/functions/emi/config_info_service_lb

index 1af4162..33c62b1 100644 (file)
@@ -72,6 +72,9 @@ if [ $? != 0 ]; then
   yaimlog ERROR "Copying glue2 service template failed"
   exit 1
 fi
+# workaround SB #85209 ($GLITE_LOCATION/etc in provider scripts)
+sed -i 's/\$GLITE_LOCATION//' ${INFO_SERVICE_CONFIG}/glite-info-service-${SERVICE_LC}.conf
+sed -i 's/\$GLITE_LOCATION//' ${INFO_SERVICE_CONFIG}/glite-info-glue2-${SERVICE_LC}.conf
 
 # Note: the configuration file may need to be altered if non standard values have been used.