LOCALBASE->TRUEPREFIX, pointed out by aja@
This commit is contained in:
parent
9e066f8bd8
commit
f4acc97ae6
@ -1,9 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/05/08 02:54:10 william Exp $
|
||||
# $OpenBSD: Makefile,v 1.2 2012/05/08 19:05:06 sthen Exp $
|
||||
|
||||
COMMENT= mail anomalies in the system logfiles to the administrator
|
||||
|
||||
V= 1.3.14
|
||||
DISTNAME= logcheck_${V}
|
||||
REVISION= 0
|
||||
PKGNAME= logtail-${V}
|
||||
CATEGORIES= sysutils
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-src_logtail2,v 1.1.1.1 2012/05/08 02:54:10 william Exp $
|
||||
$OpenBSD: patch-src_logtail2,v 1.2 2012/05/08 19:05:06 sthen Exp $
|
||||
--- src/logtail2.orig Sat Mar 3 23:02:29 2012
|
||||
+++ src/logtail2 Sat Mar 3 23:02:10 2012
|
||||
@@ -109,7 +109,7 @@ sub determine_rotated_logfile {
|
||||
@ -6,7 +6,7 @@ $OpenBSD: patch-src_logtail2,v 1.1.1.1 2012/05/08 02:54:10 william Exp $
|
||||
|
||||
#print "determine_rotated_logfile $filename $inode\n";
|
||||
- for my $codefile (glob("/usr/share/logtail/detectrotate/*.dtr")) {
|
||||
+ for my $codefile (glob("${LOCALBASE}/share/logtail/detectrotate/*.dtr")) {
|
||||
+ for my $codefile (glob("${TRUEPREFIX}/share/logtail/detectrotate/*.dtr")) {
|
||||
my $func = do $codefile;
|
||||
if (!$func) {
|
||||
print STDERR "cannot compile $codefile: $!";
|
||||
|
Loading…
Reference in New Issue
Block a user