Subject: | _find_exe() throwing errors with SVN::Notify::Mirror |
I was trying to followup on the changes you made to find the various
executables (svnlook in particular). And I'm getting this:
Modification of a read-only value attempted at
/usr/lib/perl5/site_perl/5.8.7/SVN/Notify.pm line 1566.
Modification of a read-only value attempted at
/usr/lib/perl5/site_perl/5.8.7/SVN/Notify.pm line 1566.
I don't know why you aren't getting that with your own tests. I've
attached a trivial fix.
I'm cheating and calling SVN::Notify::_find_exe() from
SVN::Notify::Mirror, even though it is a private method, since I need
the same functionality myself...
John
Subject: | mychanges.diff |
--- ../SVN-Notify-2.52/lib/SVN/Notify.pm 2006-02-19 13:50:25.000000000 -0500
+++ /usr/lib/perl5/site_perl/5.8.7/SVN/Notify.pm 2006-02-24 06:48:46.000000000 -0500
@@ -1563,8 +1563,8 @@ sub _find_exe {
my $exe = shift;
require File::Spec;
for my $path (File::Spec->path, '/usr/local/bin', '/usr/sbin') {
- $path = File::Spec->catfile($path, $exe);
- return $path if -x $path && -f _;
+ my $exepath = File::Spec->catfile($path, $exe);
+ return $exepath if -x $exepath && -f _;
}
return;
}