mirror of
https://github.com/dkogan/feedgnuplot.git
synced 2025-05-05 14:04:49 +08:00
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:
parent
1c853a2193
commit
6f091d1cf2
@ -20,9 +20,9 @@ sub parseversion
|
|||||||
|
|
||||||
while(<PL>)
|
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'";
|
die "Version mismatch. Changes says version is '$version', but 'bin/feedgnuplot' says it is '$1'";
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,8 @@ use Text::ParseWords; # for shellwords
|
|||||||
use Pod::Usage;
|
use Pod::Usage;
|
||||||
use Time::Piece;
|
use Time::Piece;
|
||||||
|
|
||||||
my $VERSION = 1.44;
|
# Makefile.PL assumes this is in ''
|
||||||
|
my $VERSION = '1.44';
|
||||||
|
|
||||||
my %options;
|
my %options;
|
||||||
interpretCommandline();
|
interpretCommandline();
|
||||||
|
Loading…
Reference in New Issue
Block a user