patch-src_logtail2 573 B

12345678910111213
  1. $OpenBSD: patch-src_logtail2,v 1.2 2012/05/08 19:05:06 sthen Exp $
  2. --- src/logtail2.orig Sat Mar 3 23:02:29 2012
  3. +++ src/logtail2 Sat Mar 3 23:02:10 2012
  4. @@ -109,7 +109,7 @@ sub determine_rotated_logfile {
  5. # function with dateext magic added.
  6. #print "determine_rotated_logfile $filename $inode\n";
  7. - for my $codefile (glob("/usr/share/logtail/detectrotate/*.dtr")) {
  8. + for my $codefile (glob("${TRUEPREFIX}/share/logtail/detectrotate/*.dtr")) {
  9. my $func = do $codefile;
  10. if (!$func) {
  11. print STDERR "cannot compile $codefile: $!";