[Bps-public-commit] r16147 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin/Model
alexmv at bestpractical.com
alexmv at bestpractical.com
Mon Sep 29 12:20:13 EDT 2008
Author: alexmv
Date: Mon Sep 29 12:20:12 2008
New Revision: 16147
Modified:
Pushmi/trunk/ (props changed)
Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/Model/Replica.pm
Log:
r37814 at kohr-ah: chmrr | 2008-09-29 12:20:08 -0400
* Specify app_root/lib instead of hardcoded path or relying on cwd
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 Mon Sep 29 12:20:12 2008
@@ -151,7 +151,7 @@
unless (fork) {
$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");
+ exec($^X, "-I".(Jifty::Util->app_root)."/lib", Jifty->config->app("pushmi_bin"), @args, "--silent");
}
$self->clear_cache;
}
@@ -344,7 +344,7 @@
my $id = $self->id;
close STDOUT;
close STDIN;
- exec( $^X => "-Ilib",
+ exec( $^X => "-I".(Jifty::Util->app_root)."/lib",
"-MPushmi::Admin::Watcher",
"-e" => "Pushmi::Admin::Watcher->new($id)"
);
More information about the Bps-public-commit
mailing list