]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/po.pm
po plugin: do not allow msgmerge to create backup files
[ikiwiki.git] / IkiWiki / Plugin / po.pm
index e4cd6165fbbf28be7239adf99ee99517d8aa0a97..07896d95ab274958079c6711aeb281541e4af385 100644 (file)
@@ -132,7 +132,7 @@ sub refreshpofiles ($@) { #{{{
 
        foreach my $pofile (@pofiles) {
                if (-e $pofile) {
-                       my $cmd = "msgmerge -U $pofile $potfile";
+                       my $cmd = "msgmerge -U --backup=none $pofile $potfile";
                        system ($cmd) == 0
                                or error("[po/refreshpofiles:$pofile] failed to update");
                }