From f35f8464ecf35de769629d316db620472a92f995 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Thu, 7 Jul 2016 11:51:13 +0100 Subject: [PATCH] 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" Signed-off-by: Emil Velikov --- bin/bugzilla_mesa.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bugzilla_mesa.sh b/bin/bugzilla_mesa.sh index 0cff4261f75..49b9ce9c758 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 '.*' | sed -e 's/ *Bug [0-9]\+ – \(.*\)<\/title>/\1/') + summary=$(wget --quiet -O - $i | grep -e '<title>.*' | sed -e 's/ *[0-9]\+ – \(.*\)<\/title>/\1/') echo "<li><a href=\"$i\">Bug $id</a> - $summary</li>" echo "" done -- 2.30.2