[Bps-public-commit] r16052 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin/Model

alexmv at bestpractical.com alexmv at bestpractical.com
Thu Sep 25 10:27:13 EDT 2008


Author: alexmv
Date: Thu Sep 25 10:27:13 2008
New Revision: 16052

Modified:
   Pushmi/trunk/   (props changed)
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm

Log:
 r37705 at kohr-ah:  chmrr | 2008-09-25 10:20:32 -0400
  * Make sure JIFTY_APP_ROOT is seen by the pushmi binary, for logging


Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm	(original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm	Thu Sep 25 10:27:13 2008
@@ -149,7 +149,8 @@
     my $self = shift;
     my @args = @_;
     unless (fork) {
-        $ENV{PUSHMI_CONFIG} = $self->config_file;
+        $ENV{PUSHMI_CONFIG}  = $self->config_file;
+        $ENV{JIFTY_APP_ROOT} = Jifty::Util->app_root;
         exec($^X, "-I/home/chmrr/work/bps/Pushmi/lib", Jifty->config->app("pushmi_bin"), @args, "--silent");
     }
     $self->clear_cache;



More information about the Bps-public-commit mailing list