[Debian-l10n-commits] dl10n branch master updated. d980e7dd1733aff29c46f89f82a15aaffeeaf66e

David Prévot taffit at alioth.debian.org
Tue Jun 18 17:30:19 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "dl10n".

The branch, master has been updated
       via  d980e7dd1733aff29c46f89f82a15aaffeeaf66e (commit)
      from  b95b124b82637a2a3e7fb4e3e991bdd8de5063aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

http://anonscm.debian.org/gitweb/?p=debian-l10n/dl10n.git;a=commitdiff;h=d980e7dd1733aff29c46f89f82a15aaffeeaf66e

commit d980e7dd1733aff29c46f89f82a15aaffeeaf66e
Author: David Prévot <taffit at debian.org>
Date:   Tue Jun 18 13:28:53 2013 -0400

    Add quote to $filename in msgfmt processing
    
    smc has spaces in its PO filename, that confuses the processing.

-----------------------------------------------------------------------

Summary of changes:
 dl10n-check |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dl10n-check b/dl10n-check
index 40c4811..4bad7a1 100755
--- a/dl10n-check
+++ b/dl10n-check
@@ -728,7 +728,7 @@ sub process_po_file {
         }
         if ($lang ne "") {
                 # stats the file
-                ($this_stat, $err_msg) = read_stats("msgfmt --statistics -o /dev/null $filename 2>&1 1>/dev/null");
+                ($this_stat, $err_msg) = read_stats("msgfmt --statistics -o /dev/null '$filename' 2>&1 1>/dev/null");
                 if ($err_msg ne '') {
                         $err_msg =~ s,\Q$filename\E,$file,g;
                         $data->add_errors($pkg, "gettext: ".$err_msg);
-----------------------------------------------------------------------


hooks/post-receive
-- 
dl10n



More information about the Debian-l10n-commits mailing list