From 450054438c2763c0ce26985ccf6c5d890d2c6f2a Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 22 Mar 2006 12:59:36 +0000 Subject: Remove hardlink to /bin/sed. Leave to PATH (Abs - 1391483) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1340 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 8145bba..601c693 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh @@ -70,8 +70,8 @@ CHMOD="/bin/chmod" TOUCH="/bin/touch" PROGNAME=`/bin/basename $0` -PROGPATH=`echo $0 | /bin/sed -e 's,[\\/][^\\/][^\\/]*$,,'` -REVISION=`echo '$Revision$' | /bin/sed -e 's/[^0-9.]//g'` +PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'` +REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'` . $PROGPATH/utils.sh diff --git a/plugins-scripts/utils.sh.in b/plugins-scripts/utils.sh.in index 51727b7..7750716 100644 --- a/plugins-scripts/utils.sh.in +++ b/plugins-scripts/utils.sh.in @@ -14,10 +14,10 @@ fi print_revision() { echo "$1 (@PACKAGE@ @VERSION@) $2" - $ECHO "@WARRANTY@" | /bin/sed -e 's/\n/ /g' + $ECHO "@WARRANTY@" | sed -e 's/\n/ /g' } support() { - $ECHO "@SUPPORT@" | /bin/sed -e 's/\n/ /g' + $ECHO "@SUPPORT@" | sed -e 's/\n/ /g' } -- cgit v0.10-9-g596f