From: Mike Frysinger Date: Wed, 13 Jun 2012 16:13:28 +0000 (-0400) Subject: handle multiple maintainers X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=94696975b8155523f40e684a7960a5f5aabf29ef;p=home.git handle multiple maintainers --- 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 \