From: P. J. McDermott Date: Tue, 24 Sep 2013 02:48:14 +0000 (-0400) Subject: ssic: Set $VERSION. X-Git-Tag: ssic/1.0.0~12 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=317a3ffb411a2af70c33a8b61817d2da88029379;p=ssic.git ssic: Set $VERSION. --- diff --git a/bin/ssic b/bin/ssic index ea0a838..34f3502 100755 --- 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 " . ".\n");