From d8d057c356e0244585aa0eac075b39958c6c3f37 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 23 Jun 2010 21:29:47 -0400 Subject: [PATCH] chdir to srcdir in rcs_getctime --- IkiWiki/Plugin/cvs.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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/; -- 2.26.2