summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-07-07 11:51:13 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-07-07 15:58:46 +0100
commitf35f8464ecf35de769629d316db620472a92f995 (patch)
treed95fa34e9ea3b2ac3b59b51abd404734ed28b9fd /bin
parent42968424fb4100f2035badf236b005cc8d62a592 (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>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bugzilla_mesa.sh2
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]\+ &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 ""
done