[Bps-public-commit] Module-Install-RTx branch, master, updated. 0.25-2-g7aa73d1

Kevin Falcone falcone at bestpractical.com
Thu Dec 17 10:41:35 EST 2009


The branch, master has been updated
       via  7aa73d163a65abbe34b088e7767e418cce01fb94 (commit)
      from  f76b9c72a089a935f3534638511a5d0091faffeb (commit)

Summary of changes:
 lib/Module/Install/RTx.pm |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit 7aa73d163a65abbe34b088e7767e418cce01fb94
Author: Xavier Bachelot <xavier at bachelot.org>
Date:   Thu Dec 17 10:37:12 2009 -0500

    Find RT.pm in RTHOME before looking in @INC

diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 9ddc5bc..5c7f6a0 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -41,8 +41,8 @@ sub RTx {
         $INC{'RT.pm'} = "$RT::LocalPath/lib/RT.pm";
     } else {
         local @INC = (
-            @INC,
             $ENV{RTHOME} ? ( $ENV{RTHOME}, "$ENV{RTHOME}/lib" ) : (),
+            @INC,
             map { ( "$_/rt3/lib", "$_/lib/rt3", "$_/lib" ) } grep $_,
             @prefixes
         );

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



More information about the Bps-public-commit mailing list