summaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-08-19 14:05:59 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-08-19 14:05:59 -0400
commit9b799ccc851afc70b5b068e088f095e14005bda8 (patch)
tree539cb9d5de573e804473e75904215ee6d237c40d /IkiWiki/Plugin
parent036f4f367d092b5017e1deb4cd95480ac1171da7 (diff)
po: Fixed to run rcs_add ralative to srcdir.
Diffstat (limited to 'IkiWiki/Plugin')
-rw-r--r--IkiWiki/Plugin/po.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/po.pm b/IkiWiki/Plugin/po.pm
index aa3d72b90..414906999 100644
--- a/IkiWiki/Plugin/po.pm
+++ b/IkiWiki/Plugin/po.pm
@@ -414,7 +414,7 @@ sub change (@) {
}
if (@pofiles) {
refreshpofiles($masterfile, @pofiles);
- map { IkiWiki::rcs_add($_) } @pofiles if $config{rcs};
+ map { s/^\Q$config{srcdir}\E\/*//; IkiWiki::rcs_add($_) } @pofiles if $config{rcs};
$updated_po_files=1;
}
}