diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-05-21 16:54:25 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-05-21 16:57:08 +0200 |
commit | 521ae23254b6fbf45d27cc76354bc774a453baf7 (patch) | |
tree | d72a6b926b38288d94cd0662e8e8b2d194580fd8 /bin/lo-commit-stat | |
parent | add dependency on generated files (diff) | |
download | core-521ae23254b6fbf45d27cc76354bc774a453baf7.tar.gz core-521ae23254b6fbf45d27cc76354bc774a453baf7.zip |
lo-commit-stat: use utf8 to be able to query a dash in the bug title
Change-Id: I691616575b5ea0b35e0ec0cc98db6772a7ad3b25
Diffstat (limited to 'bin/lo-commit-stat')
-rwxr-xr-x | bin/lo-commit-stat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index a61b32641747..157292448108 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 { |