[Bps-public-commit] r9924 - in Module-Install-RTx: .

falcone at bestpractical.com falcone at bestpractical.com
Wed Dec 12 16:11:44 EST 2007


Author: falcone
Date: Wed Dec 12 16:11:43 2007
New Revision: 9924

Modified:
   Module-Install-RTx/   (props changed)
   Module-Install-RTx/lib/Module/Install/RTx.pm

Log:
 r27422 at ketch:  falcone | 2007-12-12 16:11:02 -0500
 * also look in local/lib for requires()
   This helps with RT extensions that require other RT extensions that
   get installed into local


Modified: Module-Install-RTx/lib/Module/Install/RTx.pm
==============================================================================
--- Module-Install-RTx/lib/Module/Install/RTx.pm	(original)
+++ Module-Install-RTx/lib/Module/Install/RTx.pm	Wed Dec 12 16:11:43 2007
@@ -49,6 +49,7 @@
 
     my $lib_path = File::Basename::dirname( $INC{'RT.pm'} );
     print "Using RT configuration from $INC{'RT.pm'}:\n";
+    unshift @INC, "$RT::LocalPath/lib" if $RT::LocalPath;
 
     $RT::LocalVarPath  ||= $RT::VarPath;
     $RT::LocalPoPath   ||= $RT::LocalLexiconPath;



More information about the Bps-public-commit mailing list