Added PERL5LIB env var
authorAlberto Di Meglio <alberto.di.meglio@cern.ch>
Sun, 20 Mar 2005 23:33:11 +0000 (23:33 +0000)
committerAlberto Di Meglio <alberto.di.meglio@cern.ch>
Sun, 20 Mar 2005 23:33:11 +0000 (23:33 +0000)
org.glite.deployment.lb/CHANGELOG
org.glite.deployment.lb/config/scripts/glite-lb-config.py
org.glite.deployment.lb/project/version.properties

index fdedb5a..7e1e349 100644 (file)
@@ -1,3 +1,6 @@
+DATE: 21-03-2005 00:32\r
+[gdiez] Added PERL5LIB env var\r
+\r
 DATE: 17-03-2005 17:33\r
 [gdiez] Stopping and starting the database before the index creation (just after the database is created and the user granted)\r
 \r
index 8c8d936..dd0b297 100644 (file)
@@ -6,7 +6,7 @@
 # For license conditions see the license file or http://eu-egee.org/license.html
 #
 ################################################################################
-# glite-lb-config v. 1.2.0
+# glite-lb-config v. 1.2.1
 #
 # Post-installation script for configuring the gLite Logging and Bookkeping Server
 # Robert Harakaly < robert.harakaly@cern.ch >
@@ -42,7 +42,7 @@ class glite_lb:
     def __init__(self):
         self.mysql = MySQL.Mysql()
         self.verbose = 0
-        self.version = "1.2.0"
+        self.version = "1.2.1"
         self.name = "glite-lb"
         self.friendly_name = "gLite Logging and Bookkeeping"
         
@@ -328,6 +328,7 @@ def set_env():
     glib.export('GLITE_CERT_DIR',params['ca.certificates.dir'])
 
     glib.export('GLOBUS_LOCATION',params['GLOBUS_LOCATION'])
+    glib.export('GPT_LOCATION',params['GPT_LOCATION'])
     
     glib.export('JAVA_HOME')
 
@@ -336,6 +337,9 @@ def set_env():
         % (os.environ['JAVA_HOME'],os.environ['GLOBUS_LOCATION'],os.environ['GLITE_LOCATION'],os.environ['GLITE_LOCATION']))
     glib.addEnvPath("LD_LIBRARY_PATH","/usr/lib:%s/lib:%s/externals/lib:%s/lib" % (os.environ['GLOBUS_LOCATION'], os.environ['GLITE_LOCATION'],os.environ['GLITE_LOCATION']))
 
+    # Perl
+    glib.addEnvPath("PERL5LIB", "%s/lib/perl:%s/lib/perl5" % (os.environ['GPT_LOCATION'],os.environ['GLITE_LOCATION']))
+
     # Set environment
     glib.setUserEnv()
     
index 1574378..f84e92c 100644 (file)
@@ -1,4 +1,4 @@
 
-module.version = 1.2.0
+module.version = 1.2.1
 module.age = 1
                                
\ No newline at end of file