[Rt-devel] small update to rt-crontool

Rudolph Pereira rudolph at usyd.edu.au
Thu Sep 2 22:28:37 EDT 2004


Using the instructions/updates in

http://rt3.fsck.com/Ticket/Display.html?id=5316&user=guest&pass=guest
(which I can no longer access as guest :)

I have managed to get rt-crontool to send out email. I also updated
rt-crontool to look in the /usr/local hierarchy before the main rt 
dirs for rt modules so that local modules are used before the main ones.
I think this fits in with the local vs official rt module/modification
idea more cleanly than the current situation.

I have included the small patch to do this, in the hopes it may be
integrated into the official rt source. The patch is against 3.0.11, but
should apply cleanly to almost anything.

Any feedback appreciated.
Thanks
-------------- next part --------------
--- /tmp/request-tracker3-3.0.11/bin/rt-crontool.in	2004-01-03 09:55:55.000000000 +1100
+++ bin/rt-crontool.in	2004-09-03 11:45:40.000000000 +1000
@@ -26,7 +26,7 @@
 use strict;
 use Carp;
 
-use lib ("@RT_LIB_PATH@", "@LOCAL_LIB_PATH@");
+use lib ("@LOCAL_LIB_PATH@","@RT_LIB_PATH@");
 
 package RT;
 


More information about the Rt-devel mailing list