]> git.wh0rd.org Git - home.git/commitdiff
handle multiple maintainers
authorMike Frysinger <vapier@gentoo.org>
Wed, 13 Jun 2012 16:13:28 +0000 (12:13 -0400)
committerMike Frysinger <vapier@gentoo.org>
Wed, 13 Jun 2012 16:13:28 +0000 (12:13 -0400)
.profile.d/gentoo.sh

index 3c72a60603c4438f39e64f6d3d602a2216a3c7ac..a740e25998c01d976a3e0a8952b161e7cf797247 100644 (file)
@@ -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 \