[Jifty-commit] r3245 - in jifty/trunk: t/lib/Jifty
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Thu May 17 15:52:57 EDT 2007
Author: falcone
Date: Thu May 17 15:52:55 2007
New Revision: 3245
Modified:
jifty/trunk/ (props changed)
jifty/trunk/t/lib/Jifty/SubTest.pm
Log:
r18839 at ketch: falcone | 2007-05-17 15:51:33 -0400
* If we're going to chdir, we should also move $0
WWW::Mech 1.26 reads $0 and breaks without that
Thanks to Andreas Koenig
Modified: jifty/trunk/t/lib/Jifty/SubTest.pm
==============================================================================
--- jifty/trunk/t/lib/Jifty/SubTest.pm (original)
+++ jifty/trunk/t/lib/Jifty/SubTest.pm Thu May 17 15:52:55 2007
@@ -4,6 +4,7 @@
use File::Spec;
BEGIN {
@INC = grep { defined } map { ref($_) ? $_ : File::Spec->rel2abs($_) } @INC;
+ $0 = File::Spec->rel2abs($0);
chdir "$FindBin::Bin/..";
}
More information about the Jifty-commit
mailing list