summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorThomas Keller <me@thomaskeller.biz>2010-12-28 01:55:12 +0100
committerThomas Keller <me@thomaskeller.biz>2010-12-28 01:55:12 +0100
commit6379737970c4686e4e17a40d659dbb4942643425 (patch)
tree028074c92a38610170a0a2c85f3c2578b99d943d /IkiWiki/Plugin
parent967137938c8f8bdee2149acef4ce138377db2041 (diff)
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/Plugin')
-rw-r--r--IkiWiki/Plugin/monotone.pm2
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;
}
}