Merge pull request #746 from gnadelwartz/patch-5

base_version() fix possible suffix in webnin version
This commit is contained in:
Jamie Cameron
2017-12-26 13:21:46 -08:00
committed by GitHub

View File

@@ -764,6 +764,8 @@ Rounds a version number down to the nearest .01
=cut
sub base_version
{
#remove waning about (possible) postfixes from update-from-repo.sh
$_[0] =~ s/[-a-z:_].*//gi;
return sprintf("%.2f0", $_[0]);
}