[Libreoffice-commits] .: Branch 'libreoffice-3-5' - bin/lo-commit-stat

Petr Mladek pmladek at kemper.freedesktop.org
Mon May 21 07:58:33 PDT 2012


 bin/lo-commit-stat |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit ef4e83c698fa065de3242564d8c4e7aab5e86dd7
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Mon May 21 16:54:25 2012 +0200

    lo-commit-stat: use utf8 to be able to query a dash in the bug title
    
    Change-Id: I691616575b5ea0b35e0ec0cc98db6772a7ad3b25
    Signed-off-by: Petr Mladek <pmladek at suse.cz>

diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index a61b326..1572924 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -5,6 +5,7 @@
 
 use strict;
 use LWP::UserAgent;
+use utf8;
 
 my $main_repo="core";
 my @pieces=("binfilter", "dictionaries", "help", "translations");
@@ -297,7 +298,7 @@ sub get_bug_name($$)
         my $response = $ua->get($url);
         if ($response->is_success) {
             my $title = $response->title;
-            if ( $title =~ s/^Bug \d+ . // ) {
+            if ( $title =~ s/^Bug \d+ – // ) {
                 print "$title\n";
                 return $title;
             } else {


More information about the Libreoffice-commits mailing list