svnnotify.patch 982 B

12345678910111213141516171819202122
  1. Index: SVN-Notify-2.70/lib/SVN/Notify.pm
  2. --- SVN-Notify-2.70/lib/SVN/Notify.pm.orig 2007-06-17 07:08:29 +0200
  3. +++ SVN-Notify-2.70/lib/SVN/Notify.pm 2007-07-30 19:48:01 +0200
  4. @@ -851,7 +851,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. @@ -863,7 +863,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);