From c03fef101cf29b572c1cfebd85cac754cb2a766b Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Thu, 26 Nov 2009 18:10:38 +0100 Subject: make bugz output parsing more flexible --- scripts/keyword.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/keyword.sh b/scripts/keyword.sh index 8ba2661..64be74e 100755 --- a/scripts/keyword.sh +++ b/scripts/keyword.sh @@ -83,8 +83,8 @@ fi tmpfile="$(mktemp)" ${BUGZ} --base=https://bugs.gentoo.org get ${bugid} > ${tmpfile} -aliases="$(grep ^CC ${tmpfile} | sed -e "s|CC : ||g")" -assignee="$(grep ^Assignee ${tmpfile} | sed -e "s|Assignee : ||")" +aliases="$(grep ^CC ${tmpfile} | sed -e "s|CC +: ||g")" +assignee="$(grep ^Assignee ${tmpfile} | sed -e "s|Assignee +: ||")" rm ${tmpfile} # only accept arches, no herds/users etc -- cgit v1.2.3-65-gdbad