From: Andrew Chilton Date: Thu, 31 Jul 2008 23:46:15 +0000 (+0200) Subject: Use the VERSION from the module, not the command line client X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9ff54072d29c1d885d0f0dc34c2ab8851099cc07;p=cil.git Use the VERSION from the module, not the command line client --- diff --git a/bin/cil b/bin/cil index 59cae11..39db797 100755 --- a/bin/cil +++ b/bin/cil @@ -39,8 +39,6 @@ use CIL::Attachment; my $y = 'y'; -use constant VERSION => '0.5.1'; - my @IN_OPTS = ( # strings 'p=s', # p = path @@ -84,7 +82,7 @@ my %BOOLEAN_ARGS = ( # do the version and help if ( exists $args->{version} ) { - print "cil version ".VERSION."\n"; + print "cil version " . $CIL::VERSION . "\n"; exit; }