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 versionsmaster
parent
967137938c
commit
6379737970
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue