From: Joey Hess Date: Thu, 24 Jun 2010 01:29:47 +0000 (-0400) Subject: chdir to srcdir in rcs_getctime X-Git-Tag: 3.20100704~28 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8d057c356e0244585aa0eac075b39958c6c3f37;p=ikiwiki.git chdir to srcdir in rcs_getctime --- 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/;