diff options
author | Joey Hess <joey@kitenet.net> | 2010-06-23 21:29:47 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-06-23 21:29:47 -0400 |
commit | d8d057c356e0244585aa0eac075b39958c6c3f37 (patch) | |
tree | 4b70dc1f375f0316fef5f0b27fd1045bc6df289b /IkiWiki | |
parent | cf5b767777bf922ef55cdc51adef024436d2171e (diff) | |
download | ikiwiki-d8d057c356e0244585aa0eac075b39958c6c3f37.tar ikiwiki-d8d057c356e0244585aa0eac075b39958c6c3f37.tar.gz |
chdir to srcdir in rcs_getctime
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/cvs.pm | 4 |
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/; |