Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
11 lines
484 B
Text
11 lines
484 B
Text
--- 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: $!";
|