openbsd-ports/security/swatch/patches/patch-ab
1997-11-19 23:21:01 +00:00

24 lines
677 B
Plaintext

--- swatch.pl.orig Thu Dec 14 21:01:08 1995
+++ swatch.pl Sun Jul 6 19:22:13 1997
@@ -29,7 +29,7 @@
eval 'PERL_BIN_DIR/perl -S $0 ${1+"$@"}'
if 0;
#
-$ENV{'PATH'} = '/usr/ucb:/usr/bin:/bin:PERL_BIN_DIR';
+$ENV{'PATH'} = '/usr/bin:/bin:PERL_BIN_DIR';
$ENV{'IFS'} = '' if $ENV{'IFS'} ne '';
$0 = rindex($0, "/") > -1 ? substr($0, rindex($0, "/")+1) : $0;
@@ -44,8 +44,8 @@
# Some defaults
$PERL = 'PERL_BIN_DIR/perl';
-$TAIL = '/usr/ucb/tail -f';
-$DEF_INPUT = "$TAIL /var/log/syslog";
+$TAIL = '/usr/bin/tail -f';
+$DEF_INPUT = "$TAIL /var/log/messages";
$Pipe = 1;
$ConfigFile = "$ENV{'HOME'}/.swatchrc";
$PatternSeparator = ',';