[Rt-commit] [rtir] 01/07: Run substitutions for 2.5.1 update_saved_searches.pl
Jim Brandt
jbrandt at bestpractical.com
Tue Jul 2 15:25:59 EDT 2013
This is an automated email from the git hooks/post-receive script.
jbrandt pushed a commit to branch 2.9/update-2.5.1-update-saved-search
in repository rtir.
commit 151d0b4f014b854e4165455ba322e22076c8a7ab
Author: Jim Brandt <jbrandt at bestpractical.com>
Date: Fri Jun 28 11:33:39 2013 -0400
Run substitutions for 2.5.1 update_saved_searches.pl
---
Makefile.PL | 1 +
.../{update_saved_searches.pl => update_saved_searches.pl.in} | 8 ++++++--
2 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/Makefile.PL b/Makefile.PL
index 34af09e..20c1f86 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -48,6 +48,7 @@ substitute( {
'etc/upgrade/upgrade.pl',
'etc/add_constituency',
'lib/RT/IR/Test.pm',
+ 'etc/upgrade/2.5.1/update_saved_searches.pl',
);
tests("t/*.t t/*/*.t");
diff --git a/etc/upgrade/2.5.1/update_saved_searches.pl b/etc/upgrade/2.5.1/update_saved_searches.pl.in
similarity index 96%
rename from etc/upgrade/2.5.1/update_saved_searches.pl
rename to etc/upgrade/2.5.1/update_saved_searches.pl.in
index 993ddb0..bdf49e6 100644
--- a/etc/upgrade/2.5.1/update_saved_searches.pl
+++ b/etc/upgrade/2.5.1/update_saved_searches.pl.in
@@ -1,4 +1,5 @@
-#!/usr/bin/env perl
+#!/usr/bin/env perl
+### before: #!@PERL@
# BEGIN BPS TAGGED BLOCK {{{
#
# COPYRIGHT:
@@ -48,7 +49,10 @@
# END BPS TAGGED BLOCK }}}
use strict;
use warnings;
-use lib '/opt/rt/local/lib', '/opt/rt/3.8/lib';
+
+### after: use lib qw(@RT_LIB_PATH@);
+use lib qw(/opt/rt4/local/lib /opt/rt4/lib);
+
use RT;
RT->LoadConfig;
RT->Init;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Rt-commit
mailing list