From 94696975b8155523f40e684a7960a5f5aabf29ef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 13 Jun 2012 12:13:28 -0400 Subject: [PATCH] handle multiple maintainers --- .profile.d/gentoo.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.profile.d/gentoo.sh b/.profile.d/gentoo.sh index 3c72a60..a740e25 100644 --- a/.profile.d/gentoo.sh +++ b/.profile.d/gentoo.sh @@ -154,7 +154,7 @@ eget_maintainer() { echo "No maintainer found in $f" return 1 fi - echo "${maintainer}" + echo ${maintainer} return 0 } submit_bug_stable() { @@ -177,6 +177,10 @@ submit_bug_stable() { echo "Unable to read ebuild '${ebuild}'" return 1 fi + if [[ ${maintainer} == *" "* ]] ; then + cc+=",${maintainer#* }" + maintainer=${maintainer%% *} + fi gbugz \ post \ --batch \ -- 2.39.2