diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-23 05:38:47 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2008-11-23 05:38:47 +0000 |
commit | 6fbd14fea5c111a23d9074d25499991cbfa58f79 (patch) | |
tree | 0c1f5a77cacc664eadd47216b70e3257337484db /plugins-scripts/utils.pm.in | |
parent | 56cf151ae91c5081a99365848a3f060dfe14a68c (diff) | |
download | monitoring-plugins-6fbd14fea5c111a23d9074d25499991cbfa58f79.tar.gz |
Removing CVS/SVN tags and replacing with git-based versioning
For contrib/, full tags have been imported from subversion
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@2091 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/utils.pm.in')
-rw-r--r-- | plugins-scripts/utils.pm.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins-scripts/utils.pm.in b/plugins-scripts/utils.pm.in index 08776f18..37cd62c3 100644 --- a/plugins-scripts/utils.pm.in +++ b/plugins-scripts/utils.pm.in | |||
@@ -1,5 +1,4 @@ | |||
1 | # Utility drawer for Nagios plugins. | 1 | # Utility drawer for Nagios plugins. |
2 | # $Id$ | ||
3 | # | 2 | # |
4 | # This will be deprecated soon. Please use Nagios::Plugin from CPAN | 3 | # This will be deprecated soon. Please use Nagios::Plugin from CPAN |
5 | # for new plugins | 4 | # for new plugins |
@@ -32,8 +31,6 @@ $TIMEOUT = 15; | |||
32 | sub print_revision ($$) { | 31 | sub print_revision ($$) { |
33 | my $commandName = shift; | 32 | my $commandName = shift; |
34 | my $pluginRevision = shift; | 33 | my $pluginRevision = shift; |
35 | $pluginRevision =~ s/^\$Revision: //; | ||
36 | $pluginRevision =~ s/ \$\s*$//; | ||
37 | print "$commandName v$pluginRevision (@PACKAGE@ @VERSION@)\n"; | 34 | print "$commandName v$pluginRevision (@PACKAGE@ @VERSION@)\n"; |
38 | print "@WARRANTY@"; | 35 | print "@WARRANTY@"; |
39 | } | 36 | } |