[Bps-public-commit] Module-Install-RTx branch, master, updated. 0.30-2-gc271d03

Alex Vandiver alexmv at bestpractical.com
Mon Feb 25 18:02:01 EST 2013


The branch, master has been updated
       via  c271d03334e897eca04a73ca933b6a93b2d28b7d (commit)
      from  b1f4f0f8b4a6d0c1fbce981bbc08e66f871c41c7 (commit)

Summary of changes:
 lib/Module/Install/RTx.pm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit c271d03334e897eca04a73ca933b6a93b2d28b7d
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Feb 25 18:01:56 2013 -0500

    Install static/ as well, now that we serve JS statically

diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index 56a1be1..eb4912e 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -13,7 +13,7 @@ use FindBin;
 use File::Glob     ();
 use File::Basename ();
 
-my @DIRS = qw(etc lib html bin sbin po var);
+my @DIRS = qw(etc lib html static bin sbin po var);
 my @INDEX_DIRS = qw(lib bin sbin);
 
 sub RTx {
@@ -61,10 +61,11 @@ sub RTx {
     unshift @INC, "$RT::LocalPath/lib" if $RT::LocalPath;
     unshift @INC, $lib_path;
 
-    $RT::LocalVarPath  ||= $RT::VarPath;
-    $RT::LocalPoPath   ||= $RT::LocalLexiconPath;
-    $RT::LocalHtmlPath ||= $RT::MasonComponentRoot;
-    $RT::LocalLibPath  ||= "$RT::LocalPath/lib";
+    $RT::LocalVarPath    ||= $RT::VarPath;
+    $RT::LocalPoPath     ||= $RT::LocalLexiconPath;
+    $RT::LocalHtmlPath   ||= $RT::MasonComponentRoot;
+    $RT::LocalStaticPath ||= $RT::StaticPath;
+    $RT::LocalLibPath    ||= "$RT::LocalPath/lib";
 
     my $with_subdirs = $ENV{WITH_SUBDIRS};
     @ARGV = grep { /WITH_SUBDIRS=(.*)/ ? ( ( $with_subdirs = $1 ), 0 ) : 1 }

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



More information about the Bps-public-commit mailing list