patch-lib_Mail_SpamAssassin_Util_pm 600 B

12345678910111213
  1. $OpenBSD: patch-lib_Mail_SpamAssassin_Util_pm,v 1.1 2015/08/26 13:28:54 sthen Exp $
  2. --- lib/Mail/SpamAssassin/Util.pm.orig Wed Aug 26 14:14:36 2015
  3. +++ lib/Mail/SpamAssassin/Util.pm Wed Aug 26 14:21:17 2015
  4. @@ -108,7 +108,7 @@ BEGIN {
  5. if ( !$displayed_path++ ) {
  6. dbg("util: current PATH is: ".join($Config{'path_sep'},File::Spec->path()));
  7. }
  8. - foreach my $path (File::Spec->path()) {
  9. + foreach my $path (File::Spec->path(), qw(${LOCALBASE}/bin ${LOCALBASE}/sbin)) {
  10. my $fname = File::Spec->catfile ($path, $filename);
  11. if ( -f $fname ) {
  12. if (-x $fname) {