The version is now treated as a string not as a number

Before this a version 1.40 was seen as 1.4
This commit is contained in:
Dima Kogan 2017-09-30 11:02:18 -07:00
parent 1c853a2193
commit 6f091d1cf2
2 changed files with 4 additions and 3 deletions

View File

@ -20,9 +20,9 @@ sub parseversion
while(<PL>)
{
if( /VERSION = ([0-9\.]+)/ )
if( /VERSION = '([0-9\.]+)'/ )
{
if ( $1 != $version )
if ( $1 ne $version )
{
die "Version mismatch. Changes says version is '$version', but 'bin/feedgnuplot' says it is '$1'";
}

View File

@ -15,7 +15,8 @@ use Text::ParseWords; # for shellwords
use Pod::Usage;
use Time::Piece;
my $VERSION = 1.44;
# Makefile.PL assumes this is in ''
my $VERSION = '1.44';
my %options;
interpretCommandline();