From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id D88A31381F3 for ; Tue, 1 Oct 2013 19:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E038AE0B1C; Tue, 1 Oct 2013 19:03:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C9C6E0B1C for ; Tue, 1 Oct 2013 19:03:05 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3BB1733DF72 for ; Tue, 1 Oct 2013 19:03:04 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id E7290E545D for ; Tue, 1 Oct 2013 19:03:02 +0000 (UTC) From: "Markus Meier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Markus Meier" Message-ID: <1380654549.5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d.maekke@gentoo> Subject: [gentoo-commits] dev/maekke:master commit in: scripts/ X-VCS-Repository: dev/maekke X-VCS-Files: scripts/rdep X-VCS-Directories: scripts/ X-VCS-Committer: maekke X-VCS-Committer-Name: Markus Meier X-VCS-Revision: 5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d X-VCS-Branch: master Date: Tue, 1 Oct 2013 19:03:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ce79ca98-9da5-468e-99ab-1c6a7db5acc4 X-Archives-Hash: 9eef02b8addd0c042e27c63b20ab6fbb commit: 5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d Author: Markus Meier gentoo org> AuthorDate: Tue Oct 1 19:09:09 2013 +0000 Commit: Markus Meier gentoo org> CommitDate: Tue Oct 1 19:09:09 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=5a42f3c5 do not display subslot --- scripts/rdep | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/rdep b/scripts/rdep index db11e80..6157d8c 100755 --- a/scripts/rdep +++ b/scripts/rdep @@ -80,6 +80,7 @@ for p in $(grep -v '^[B]' ${tmp}); do if [[ -e ${ebuild} && $(egrep -H "${expr}" \ ${ebuild} | wc -l) == 1 ]]; then slot=$(portageq metadata / ebuild ${cpv} SLOT) + slot=${slot/\/*/} # kill subslot if [[ ${last_pn} != ${category}/${pn}:${slot} ]]; then [[ -z ${use} ]] && echo "${category}/${pn}:${slot}" || echo "${category}/${pn}:${slot}[${use}]" fi