From a01588a03471a652043145eefeec5ef4bf77d05c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 5 Aug 2010 20:48:14 +0200 Subject: Makefile -> Build.PL --- bin/icli | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bin') diff --git a/bin/icli b/bin/icli index b1d7a92..1716fed 100755 --- a/bin/icli +++ b/bin/icli @@ -8,7 +8,7 @@ use Date::Format; use Getopt::Long qw/:config bundling/; use Term::ANSIColor; -my $version = '0.1+git'; +my $VERSION = '0.1+git'; my ($cache, $config, $data, $extra); my $config_file = '/var/cache/icinga/objects.cache'; @@ -235,7 +235,7 @@ GetOptions( 'h|host=s' => sub { push(@for_hosts, split(/,/, $_[1])) }, 'l|list=s' => sub { $list_type = substr($_[1], 0, 1) }, 's|short' => \$short, - 'V|version' => sub { say "icli version $version"; exit 0 }, + 'V|version' => sub { say "icli version $VERSION"; exit 0 }, ); read_objects($status_file, \$data); -- cgit v1.2.3