diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-08-04 15:00:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-08-04 15:00:47 -0400 |
commit | 6e2f9e97f3eb2e8e7ecdc2bdcf053a1323df4af8 (patch) | |
tree | 95e7732bdb0832562b861e447eeca1f0a4e38fd0 /IkiWiki/Plugin | |
parent | 6f2d1536b8ce0bd746c87c00466170435ddb3923 (diff) |
Add simple patch to silence a warning when using monotone
Diffstat (limited to 'IkiWiki/Plugin')
-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 40a41c765..f31a8606b 100644 --- a/IkiWiki/Plugin/monotone.pm +++ b/IkiWiki/Plugin/monotone.pm @@ -55,7 +55,7 @@ sub checkconfig () { #{{{ error("Monotone version too old, is $version but required 0.38"); } - if (length $config{mtn_wrapper}) { + if (defined $config{mtn_wrapper} && length $config{mtn_wrapper}) { push @{$config{wrappers}}, { wrapper => $config{mtn_wrapper}, wrappermode => (defined $config{mtn_wrappermode} ? $config{mtn_wrappermode} : "06755"), |