chdir to srcdir in rcs_getctime

master
Joey Hess 2010-06-23 21:29:47 -04:00
parent cf5b767777
commit d8d057c356
1 changed files with 3 additions and 1 deletions

View File

@ -459,7 +459,9 @@ sub rcs_diff ($) {
} }
sub rcs_getctime ($) { sub rcs_getctime ($) {
my $file=$config{srcdir}."/".shift(); my $file=shift;
local $CWD = $config{srcdir};
my $cvs_log_infoline=qr/^date: (.+);\s+author/; my $cvs_log_infoline=qr/^date: (.+);\s+author/;