fixed version var.
diff --git a/lib/mk-ca-bundle.pl b/lib/mk-ca-bundle.pl
index a51b2d3..08568e3 100755
--- a/lib/mk-ca-bundle.pl
+++ b/lib/mk-ca-bundle.pl
@@ -41,7 +41,7 @@
 # If the OpenSSL commandline is not in search path you can configure it here!
 my $openssl = 'openssl';
 
-my $version = '$Revision$';
+my $version = $1 if ('$Revision$' =~ /\s(\d+\.\d+)\s/);
 
 getopts('bhilnqtuv');