diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2016-07-07 11:51:13 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2016-07-07 15:58:46 +0100 |
commit | f35f8464ecf35de769629d316db620472a92f995 (patch) | |
tree | d95fa34e9ea3b2ac3b59b51abd404734ed28b9fd | |
parent | 42968424fb4100f2035badf236b005cc8d62a592 (diff) |
bugzilla_mesa.sh: Drop "Bug " from sed command
After a recent Bugzilla update the word is no longer in the title. Thus
the script ended up producing bogus HTML.
Cc: "11.2 12.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
-rwxr-xr-x | bin/bugzilla_mesa.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bugzilla_mesa.sh b/bin/bugzilla_mesa.sh index 0cff4261f7..49b9ce9c75 100755 --- a/bin/bugzilla_mesa.sh +++ b/bin/bugzilla_mesa.sh @@ -40,7 +40,7 @@ else for i in $urls do id=$(echo $i | cut -d'=' -f2) - summary=$(wget --quiet -O - $i | grep -e '<title>.*</title>' | sed -e 's/ *<title>Bug [0-9]\+ – \(.*\)<\/title>/\1/') + summary=$(wget --quiet -O - $i | grep -e '<title>.*</title>' | sed -e 's/ *<title>[0-9]\+ – \(.*\)<\/title>/\1/') echo "<li><a href=\"$i\">Bug $id</a> - $summary</li>" echo "" done |