]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/po.pm
po: Fixed to run rcs_add ralative to srcdir.
[ikiwiki.git] / IkiWiki / Plugin / po.pm
index aa3d72b90ebaeaeb88a54e9f953f57cfb8e629c0..41490699914ef632647ab593da91a1aa90c648d0 100644 (file)
@@ -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;
                }
        }