diff options
author | Petr Mladek <pmladek@suse.cz> | 2012-06-12 19:46:42 +0200 |
---|---|---|
committer | Petr Mladek <pmladek@suse.cz> | 2012-06-12 19:51:56 +0200 |
commit | c7e744d669940acf87dc8e580236067ba4ba3743 (patch) | |
tree | 0a4502c0182b5afd581818bce1122e5128ed1716 /bin | |
parent | 88968e244f4b5f82aa2262ac3dd5c6733d553643 (diff) |
lo-commit-stat: avoid problems whit '%' in the commit message
Change-Id: Ia10bac649cc078f6ef39002d280dcff7e5d0b06d
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/lo-commit-stat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat index 310548ef116c..1a8e6bbae930 100755 --- a/bin/lo-commit-stat +++ b/bin/lo-commit-stat @@ -80,6 +80,9 @@ sub standardize_summary($) my $first_char = lc($1); $line =~ s/^./$first_char/; } + # print does not like 0% or so + $line =~ s/%/%%/g; + # FIXME: remove do at the end of line # remove bug numbers |