]> git.mjollnir.org Git - cil.git/commitdiff
Use the VERSION from the module, not the command line client
authorAndrew Chilton <andy@chilts.com>
Thu, 31 Jul 2008 23:46:15 +0000 (01:46 +0200)
committerAndrew Chilton <andy@chilts.com>
Thu, 31 Jul 2008 23:46:15 +0000 (01:46 +0200)
bin/cil

diff --git a/bin/cil b/bin/cil
index 59cae116e1f9f77058d829f273493e903dc4f207..39db797000b1b7a5313cbd29001748c5da8e335f 100755 (executable)
--- 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;
     }