[Rt-commit] r19879 - rtir/2.4/trunk/t/lib/RT/IR
ruz at bestpractical.com
ruz at bestpractical.com
Wed Jun 3 17:16:26 EDT 2009
Author: ruz
Date: Wed Jun 3 17:16:25 2009
New Revision: 19879
Modified:
rtir/2.4/trunk/t/lib/RT/IR/Test.pm
Log:
* return RTFM's path provided by chimps only when we found it
Modified: rtir/2.4/trunk/t/lib/RT/IR/Test.pm
==============================================================================
--- rtir/2.4/trunk/t/lib/RT/IR/Test.pm (original)
+++ rtir/2.4/trunk/t/lib/RT/IR/Test.pm Wed Jun 3 17:16:25 2009
@@ -67,7 +67,7 @@
return $cwd if $_[0]->{name} eq 'RT::IR';
if ( $_[0]->{name} eq 'RT::FM' ) {
my ($path) = map $ENV{$_}, grep /^CHIMPS_RTFM.*_ROOT$/, keys %ENV;
- return $path;
+ return $path if $path;
}
return $old_func->(@_);
};
More information about the Rt-commit
mailing list