summaryrefslogtreecommitdiff
path: root/security/logcheck/files/extra-patch-src__logtail2.in
blob: 8c145bd7f7f0e0a9877b0723a4348977c480c34f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/logtail2.orig	2010-01-18 17:24:26.000000000 -0500
+++ src/logtail2	2010-01-18 17:24:40.000000000 -0500
@@ -108,7 +108,7 @@
     # function with dateext magic added.
     
     #print "determine_rotated_logfile $filename $inode\n";
-    for my $codefile (glob("/usr/share/logtail/detectrotate/*.dtr")) {
+    for my $codefile (glob("%%DATADIR%%/detectrotate/*.dtr")) {
         my $func = do $codefile;
         if (!$func) {
 	    print STDERR "cannot compile $codefile: $!";