From: Thomas Keller Date: Tue, 28 Dec 2010 00:55:12 +0000 (+0100) Subject: monotone.pm: while we're still only checking the major and minor X-Git-Tag: 3.20101231~16 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/6379737970c4686e4e17a40d659dbb4942643425?hp=-c 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 --- 6379737970c4686e4e17a40d659dbb4942643425 diff --git a/IkiWiki/Plugin/monotone.pm b/IkiWiki/Plugin/monotone.pm index 75bf2f458..02690b10e 100644 --- a/IkiWiki/Plugin/monotone.pm +++ b/IkiWiki/Plugin/monotone.pm @@ -42,7 +42,7 @@ sub checkconfig () { my $version=undef; while () { - if (/^monotone (\d+\.\d+) /) { + if (/^monotone (\d+\.\d+)(?:(?:\.\d+){0,2}|dev)? /) { $version=$1; } }