diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-22 12:59:36 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-03-22 12:59:36 +0000 |
commit | 450054438c2763c0ce26985ccf6c5d890d2c6f2a (patch) | |
tree | b52d1ad02e23dca2d528de3e171940d1064bc19a | |
parent | c7091142b392f3047e58c29e7759e01bd5d1cb54 (diff) | |
download | monitoring-plugins-450054438c2763c0ce26985ccf6c5d890d2c6f2a.tar.gz |
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
-rwxr-xr-x | plugins-scripts/check_log.sh | 4 | ||||
-rw-r--r-- | plugins-scripts/utils.sh.in | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 8145bba9..601c6930 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 51727b72..7750716b 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' } |