From: Emil Velikov Date: Thu, 7 Jul 2016 10:51:13 +0000 (+0100) Subject: bugzilla_mesa.sh: Drop "Bug " from sed command X-Git-Tag: android-x86-6.0-r1~57 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=168fdc6a0799456bdce2b6b4023ebe16e455661d;p=android-x86%2Fexternal-mesa.git 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 (cherry picked from commit f35f8464ecf35de769629d316db620472a92f995) --- 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