[Rt-commit] r19945 - in rt/3.999/trunk: lib
sartak at bestpractical.com
sartak at bestpractical.com
Mon Jun 8 14:39:45 EDT 2009
Author: sartak
Date: Mon Jun 8 14:39:40 2009
New Revision: 19945
Modified:
rt/3.999/trunk/lib/RT.pm
rt/3.999/trunk/t/maildigest/attributes.t
Log:
Remove $RT::SbinPath
Modified: rt/3.999/trunk/lib/RT.pm
==============================================================================
--- rt/3.999/trunk/lib/RT.pm (original)
+++ rt/3.999/trunk/lib/RT.pm Mon Jun 8 14:39:40 2009
@@ -63,7 +63,6 @@
our $BASE_PATH = Jifty::Util->app_root;
our $BinPath = $BASE_PATH . '/bin';
-our $SbinPath = $BASE_PATH . '/sbin';
our $VarPath = $BASE_PATH . '/var';
our $LocalPath = $BASE_PATH . '/local';
our $LocalPluginPath = $LocalPath . "/plugins";
Modified: rt/3.999/trunk/t/maildigest/attributes.t
==============================================================================
--- rt/3.999/trunk/t/maildigest/attributes.t (original)
+++ rt/3.999/trunk/t/maildigest/attributes.t Mon Jun 8 14:39:40 2009
@@ -154,11 +154,12 @@
my $rt_email_digest;
# to get around shipwright vessel
- if ( -e "$RT::SbinPath-wrapped/rt-email-digest" ) {
- $rt_email_digest = "$RT::SbinPath-wrapped/rt-email-digest";
+ my $sbin_path = Jifty::Util->app_root . '/sbin';
+ if ( -e "$sbin_path-wrapped/rt-email-digest" ) {
+ $rt_email_digest = "$sbin_path-wrapped/rt-email-digest";
}
- else {
- $rt_email_digest = "$RT::SbinPath/rt-email-digest";
+ else {
+ $rt_email_digest = "$sbin_path/rt-email-digest";
}
open my $digester, "-|", "$perl $rt_email_digest $arg";
my @results = <$digester>;
More information about the Rt-commit
mailing list