ssic: Set $VERSION.
authorP. J. McDermott <pjm@nac.net>
Tue, 24 Sep 2013 02:48:14 +0000 (22:48 -0400)
committerP. J. McDermott <pjm@nac.net>
Tue, 24 Sep 2013 02:48:14 +0000 (22:48 -0400)
bin/ssic

index ea0a838cc90dfb1aac2dff889e7e5e541c2d7f4e..34f350259b25a90dae25368857d0b445068ffdfe 100755 (executable)
--- a/bin/ssic
+++ b/bin/ssic
@@ -12,6 +12,9 @@ use warnings;
 use Getopt::Long;
 use CGI::SSI;
 
+my $VERSION;
+$VERSION = '1.0.0';
+
 sub main
 {
        my %opts;
@@ -89,7 +92,7 @@ sub version
 {
        my ($fh) = @_;
 
-       print("ssic 0.1.0\n");
+       printf("ssic %s\n", $VERSION);
        print("Copyright (C) 2013 Patrick \"P. J.\" McDermott\n");
        print("License GPLv3+: GNU GPL version 3 or later " .
                "<http://gnu.org/licenses/gpl.html>.\n");