diff options
author | Thomas Keller <me@thomaskeller.biz> | 2010-12-28 01:55:12 +0100 |
---|---|---|
committer | Thomas Keller <me@thomaskeller.biz> | 2010-12-28 01:55:12 +0100 |
commit | 6379737970c4686e4e17a40d659dbb4942643425 (patch) | |
tree | 028074c92a38610170a0a2c85f3c2578b99d943d /IkiWiki | |
parent | 967137938c8f8bdee2149acef4ce138377db2041 (diff) | |
download | ikiwiki-6379737970c4686e4e17a40d659dbb4942643425.tar ikiwiki-6379737970c4686e4e17a40d659dbb4942643425.tar.gz |
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
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/monotone.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 (<MTN>) { - if (/^monotone (\d+\.\d+) /) { + if (/^monotone (\d+\.\d+)(?:(?:\.\d+){0,2}|dev)? /) { $version=$1; } } |