[packages/nagios-plugin-check_iptables] remove cvs cruft
glen
glen at pld-linux.org
Tue Apr 4 14:13:06 CEST 2017
commit 53b260183f526b9db87d8acad15d1dd40abcfe3e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Tue Apr 4 15:11:55 2017 +0300
remove cvs cruft
check_iptables.sh | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/check_iptables.sh b/check_iptables.sh
index bf04fd2..d10466d 100755
--- a/check_iptables.sh
+++ b/check_iptables.sh
@@ -3,7 +3,7 @@ PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin
PROGNAME=${0##*/}
PROGPATH=`echo $0 | sed -e 's,[\\/][^\\/][^\\/]*$,,'`
-REVISION=`echo '$Revision$' | sed -e 's/[^0-9.]//g'`
+VERSION=0.2
ARGS="$*"
. $PROGPATH/utils.sh
@@ -24,7 +24,7 @@ print_usage() {
}
print_help() {
- print_revision $PROGNAME $REVISION
+ print_revision $PROGNAME $VERSION
echo ""
print_usage
echo ""
@@ -88,12 +88,12 @@ while [ $# -gt 0 ]; do
;;
--version)
- print_revision $PROGNAME $REVISION
+ print_revision $PROGNAME $VERSION
exit 0
;;
-V)
- print_revision $PROGNAME $REVISION
+ print_revision $PROGNAME $VERSION
exit 0
;;
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nagios-plugin-check_iptables.git/commitdiff/164127df3e9069150b8609de9519314948036ce2
More information about the pld-cvs-commit
mailing list