commit:     d772bce157c85caa776b254ed6ce74a86b6c459f
Author:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 25 12:05:48 2015 +0000
Commit:     Markos Chandras <hwoarang <AT> gentoo <DOT> org>
CommitDate: Sat Apr 25 12:29:15 2015 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=d772bce1

maintainer-needed.sh: Pass --no-version to pquery

Use --no-version with pquery in order to avoid the extra 'tail' call.

 maintainer-needed.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maintainer-needed.sh b/maintainer-needed.sh
index 1488e0b..b883614 100755
--- a/maintainer-needed.sh
+++ b/maintainer-needed.sh
@@ -32,7 +32,7 @@ while read pkg; do
        echo """
                        <tr>
                                <td>${pkg}</td>
-                               <td>$(pquery --one-attr description ${pkg} | 
tail -n 1)</td>
+                               <td>$(pquery --no-version --one-attr 
description ${pkg})</td>
                                <td><a 
href=\"https://bugs.gentoo.org/buglist.cgi?quicksearch=${pkg}\";>Open 
Bugs</a></td>
                        </tr>
        """

Reply via email to