svnnotify.patch 982 B

12345678910111213141516171819202122
  1. Index: SVN-Notify-2.71/lib/SVN/Notify.pm
  2. --- SVN-Notify-2.71/lib/SVN/Notify.pm.orig 2008-02-29 18:03:27 +0100
  3. +++ SVN-Notify-2.71/lib/SVN/Notify.pm 2008-03-03 07:42:18 +0100
  4. @@ -938,7 +938,7 @@
  5. my $exe = SVN::Notify->find_exe($exe_name);
  6. This method searches through the system path, as well as the extra directories
  7. -F</usr/local/bin> and F</usr/sbin> (because they're common paths for
  8. +F<@l_prefix@/bin> and F</usr/sbin> (because they're common paths for
  9. C<svnlook> and C<sendmail> for an executable file with the name C<$exe_name>.
  10. The first one it finds is returned with its full path. If none is found,
  11. C<find_exe()> returns undef.
  12. @@ -950,7 +950,7 @@
  13. $exe .= '.exe' if WIN32;
  14. require File::Spec;
  15. for my $path (
  16. - File::Spec->path, qw(/usr/local/bin /usr/bin /usr/sbin),
  17. + File::Spec->path, qw(@l_prefix@/bin /usr/bin /usr/sbin),
  18. 'C:\\program files\\subversion\\bin'
  19. ) {
  20. my $file = File::Spec->catfile($path, $exe);