[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.5-270-gc5df9f7

Kevin Falcone falcone at bestpractical.com
Wed Oct 7 15:04:27 EDT 2009


The branch, 3.8-trunk has been updated
       via  c5df9f785b85f12fc383d97bc7b1ab24342da614 (commit)
       via  247d8077ea5c74bce1f3f39dd3945e08a41cba4c (commit)
      from  4eefd79ca72233eb622fba30b9133f19f1e282d7 (commit)

Summary of changes:
 .gitignore                             |    1 +
 configure.ac                           |    1 +
 etc/upgrade/split-out-cf-categories.in |  164 ++++++++++++++++++++++++++++++++
 etc/upgrade/split-out-cf-categories.pl |  115 ----------------------
 4 files changed, 166 insertions(+), 115 deletions(-)
 create mode 100644 etc/upgrade/split-out-cf-categories.in
 delete mode 100644 etc/upgrade/split-out-cf-categories.pl

- Log -----------------------------------------------------------------
commit 247d8077ea5c74bce1f3f39dd3945e08a41cba4c
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Oct 7 14:56:11 2009 -0400

    Rename this so we can substitute in proper libs and perl

diff --git a/etc/upgrade/split-out-cf-categories.pl b/etc/upgrade/split-out-cf-categories.in
similarity index 100%
rename from etc/upgrade/split-out-cf-categories.pl
rename to etc/upgrade/split-out-cf-categories.in

commit c5df9f785b85f12fc383d97bc7b1ab24342da614
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Oct 7 15:03:49 2009 -0400

    configurify the cf split upgrade script
    
    Add in the correct perl and lib paths

diff --git a/.gitignore b/.gitignore
index baa3d63..3658bfe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -9,6 +9,7 @@ bin/webmux.pl
 etc/RT_Config.pm
 etc/upgrade/3.8-branded-queues-extension
 etc/upgrade/3.8-ical-extension
+etc/upgrade/split-out-cf-categories
 lib/RT.pm
 Makefile
 t/data/gnupg/keyrings/random_seed
diff --git a/configure.ac b/configure.ac
index 37776cd..e9d9bc7 100755
--- a/configure.ac
+++ b/configure.ac
@@ -389,6 +389,7 @@ dnl Binaries that should be +x
 AC_CONFIG_FILES([
                  etc/upgrade/3.8-branded-queues-extension
                  etc/upgrade/3.8-ical-extension
+                 etc/upgrade/split-out-cf-categories
                  sbin/rt-attributes-viewer
                  sbin/rt-dump-database
                  sbin/rt-setup-database
diff --git a/etc/upgrade/split-out-cf-categories.in b/etc/upgrade/split-out-cf-categories.in
index dd2b74d..9831a2c 100644
--- a/etc/upgrade/split-out-cf-categories.in
+++ b/etc/upgrade/split-out-cf-categories.in
@@ -1,8 +1,57 @@
-#!/usr/bin/perl
-
+#!@PERL@
+# BEGIN BPS TAGGED BLOCK {{{
+# 
+# COPYRIGHT:
+#  
+# This software is Copyright (c) 1996-2008 Best Practical Solutions, LLC 
+#                                          <jesse at bestpractical.com>
+# 
+# (Except where explicitly superseded by other copyright notices)
+# 
+# 
+# LICENSE:
+# 
+# This work is made available to you under the terms of Version 2 of
+# the GNU General Public License. A copy of that license should have
+# been provided with this software, but in any event can be snarfed
+# from www.gnu.org.
+# 
+# This work is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301 or visit their web page on the internet at
+# http://www.gnu.org/licenses/old-licenses/gpl-2.0.html.
+# 
+# 
+# CONTRIBUTION SUBMISSION POLICY:
+# 
+# (The following paragraph is not intended to limit the rights granted
+# to you to modify and distribute this software under the terms of
+# the GNU General Public License and is only of importance to you if
+# you choose to contribute your changes and enhancements to the
+# community by submitting them to Best Practical Solutions, LLC.)
+# 
+# By intentionally submitting any modifications, corrections or
+# derivatives to this work, or any other work intended for use with
+# Request Tracker, to Best Practical Solutions, LLC, you confirm that
+# you are the copyright holder for those contributions and you grant
+# Best Practical Solutions,  LLC a nonexclusive, worldwide, irrevocable,
+# royalty-free, perpetual, license to use, copy, create derivative
+# works based on those contributions, and sublicense and distribute
+# those contributions and any derivatives thereof.
+# 
+# END BPS TAGGED BLOCK }}}
 use strict;
 use warnings;
 
+use lib "@LOCAL_LIB_PATH@";
+use lib "@RT_LIB_PATH@";
+
 use RT;
 RT::LoadConfig();
 RT->Config->Set('LogToScreen' => 'debug');

-----------------------------------------------------------------------


More information about the Rt-commit mailing list