[Libreoffice-commits] .: bin/lo-commit-stat

Petr Mladek pmladek at kemper.freedesktop.org
Mon May 21 07:57:17 PDT 2012


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

New commits:
commit 521ae23254b6fbf45d27cc76354bc774a453baf7
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

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