From 8b26f15c0ef75ed98502f0634c0f382db82f385d Mon Sep 17 00:00:00 2001 From: James FitzGibbon Date: Fri, 9 May 1997 16:06:41 +0000 Subject: Fix incorrect path: /usr/ucb/tail -> /usr/bin/tail --- security/swatch/files/patch-ab | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 security/swatch/files/patch-ab diff --git a/security/swatch/files/patch-ab b/security/swatch/files/patch-ab new file mode 100644 index 000000000000..6ef04e2cd0bb --- /dev/null +++ b/security/swatch/files/patch-ab @@ -0,0 +1,20 @@ +--- swatch.pl.orig Fri May 9 12:03:34 1997 ++++ swatch.pl Fri May 9 12:03:47 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,7 +44,7 @@ + + # Some defaults + $PERL = 'PERL_BIN_DIR/perl'; +-$TAIL = '/usr/ucb/tail -f'; ++$TAIL = '/usr/bin/tail -f'; + $DEF_INPUT = "$TAIL /var/log/syslog"; + $Pipe = 1; + $ConfigFile = "$ENV{'HOME'}/.swatchrc"; -- cgit v1.2.3