summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/cvs.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/cvs.pm b/IkiWiki/Plugin/cvs.pm
index 1a432c052..4972efb58 100644
--- a/IkiWiki/Plugin/cvs.pm
+++ b/IkiWiki/Plugin/cvs.pm
@@ -459,7 +459,9 @@ sub rcs_diff ($) {
}
sub rcs_getctime ($) {
- my $file=$config{srcdir}."/".shift();
+ my $file=shift;
+
+ local $CWD = $config{srcdir};
my $cvs_log_infoline=qr/^date: (.+);\s+author/;