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
This commit is contained in:
Ton Voon 2006-03-22 12:59:36 +00:00
parent c7091142b3
commit 450054438c
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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'
}