1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-17 00:00:40 +00:00
freebsd-ports/security/swatch/files/patch-ab

24 lines
677 B
Plaintext
Raw Normal View History

--- 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 = ',';