summaryrefslogtreecommitdiff
path: root/bin/comirror-setup
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-05-06 11:13:30 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-05-06 11:13:30 +0200
commitc1af97f7d2daadccff60cf7f5238422f935be673 (patch)
treea1f905cd600ba2c6a4466f64d9f4740a672348fb /bin/comirror-setup
parented6a46acaba947eb911b6ab61efcbe9680a38b0a (diff)
Fix --version
Diffstat (limited to 'bin/comirror-setup')
-rwxr-xr-xbin/comirror-setup4
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;
}