[Nagiosplug-checkins] nagiosplug/plugins-scripts check_log.sh,1.5,1.6 utils.sh.in,1.2,1.3

Ton Voon tonvoon at users.sourceforge.net
Wed Mar 22 05:00:08 CET 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins-scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11224

Modified Files:
	check_log.sh utils.sh.in 
Log Message:
Remove hardlink to /bin/sed. Leave to PATH (Abs - 1391483)


Index: utils.sh.in
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/utils.sh.in,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- utils.sh.in	6 Jun 2002 04:16:56 -0000	1.2
+++ utils.sh.in	22 Mar 2006 12:59:36 -0000	1.3
@@ -14,10 +14,10 @@
 
 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'
 }
 

Index: check_log.sh
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins-scripts/check_log.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- check_log.sh	29 Oct 2005 15:38:40 -0000	1.5
+++ check_log.sh	22 Mar 2006 12:59:36 -0000	1.6
@@ -70,8 +70,8 @@
 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
 





More information about the Commits mailing list