monotone.pm: while we're still only checking the major and minor

part of the version number of the monotone binary, we do not want
to give false alarm on patch or development versions
master
Thomas Keller 2010-12-28 01:55:12 +01:00
parent 967137938c
commit 6379737970
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ sub checkconfig () {
my $version=undef;
while (<MTN>) {
if (/^monotone (\d+\.\d+) /) {
if (/^monotone (\d+\.\d+)(?:(?:\.\d+){0,2}|dev)? /) {
$version=$1;
}
}