Skip to content
Snippets Groups Projects
Commit f35f8464 authored by Emil Velikov's avatar Emil Velikov
Browse files

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: default avatarEmil Velikov <emil.velikov@collabora.com>
parent 42968424
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ else ...@@ -40,7 +40,7 @@ else
for i in $urls for i in $urls
do do
id=$(echo $i | cut -d'=' -f2) id=$(echo $i | cut -d'=' -f2)
summary=$(wget --quiet -O - $i | grep -e '<title>.*</title>' | sed -e 's/ *<title>Bug [0-9]\+ &ndash; \(.*\)<\/title>/\1/') summary=$(wget --quiet -O - $i | grep -e '<title>.*</title>' | sed -e 's/ *<title>[0-9]\+ &ndash; \(.*\)<\/title>/\1/')
echo "<li><a href=\"$i\">Bug $id</a> - $summary</li>" echo "<li><a href=\"$i\">Bug $id</a> - $summary</li>"
echo "" echo ""
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment