diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-06 11:13:30 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-06 11:13:30 +0200 |
commit | c1af97f7d2daadccff60cf7f5238422f935be673 (patch) | |
tree | a1f905cd600ba2c6a4466f64d9f4740a672348fb /bin/comirror-setup | |
parent | ed6a46acaba947eb911b6ab61efcbe9680a38b0a (diff) |
Fix --version
Diffstat (limited to 'bin/comirror-setup')
-rwxr-xr-x | bin/comirror-setup | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/comirror-setup b/bin/comirror-setup index 08c78c6..d3f66ea 100755 --- a/bin/comirror-setup +++ b/bin/comirror-setup @@ -33,7 +33,7 @@ my @opts = ( 0, ], ); -my $version = '0.0-git'; +our $VERSION = '0.1'; local $| = 1; @@ -74,7 +74,7 @@ sub parse_or_ask_options { GetOptions($conf, map { $_->[0] . $_->[1] } @opts); if ($conf->{'version'}) { - say "comirror version $version"; + say "comirror version $VERSION"; exit 0; } |