[Rt-commit] r5485 - rt/branches/3.6-RELEASE/sbin

ruz at bestpractical.com ruz at bestpractical.com
Wed Jun 28 18:15:29 EDT 2006


Author: ruz
Date: Wed Jun 28 18:15:28 2006
New Revision: 5485

Modified:
   rt/branches/3.6-RELEASE/sbin/rt-dump-database.in
   rt/branches/3.6-RELEASE/sbin/rt-setup-database.in

Log:
* every RT script that uses the API must use local libs

Modified: rt/branches/3.6-RELEASE/sbin/rt-dump-database.in
==============================================================================
--- rt/branches/3.6-RELEASE/sbin/rt-dump-database.in	(original)
+++ rt/branches/3.6-RELEASE/sbin/rt-dump-database.in	Wed Jun 28 18:15:28 2006
@@ -45,7 +45,10 @@
 # 
 # END BPS TAGGED BLOCK }}}
 use strict;
+
+use lib "@LOCAL_LIB_PATH@";
 use lib "@RT_LIB_PATH@";
+
 use RT;
 use XML::Simple;
 

Modified: rt/branches/3.6-RELEASE/sbin/rt-setup-database.in
==============================================================================
--- rt/branches/3.6-RELEASE/sbin/rt-setup-database.in	(original)
+++ rt/branches/3.6-RELEASE/sbin/rt-setup-database.in	Wed Jun 28 18:15:28 2006
@@ -49,6 +49,7 @@
 use vars
   qw(@Groups @Users @ACL @Queues @ScripActions @ScripConditions @Templates @CustomFields @Scrips @Attributes);
 
+use lib "@LOCAL_LIB_PATH@";
 use lib "@RT_LIB_PATH@";
 
 #This drags in  RT's config.pm


More information about the Rt-commit mailing list