1 |
commit: 5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d |
2 |
Author: Markus Meier <maekke <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 1 19:09:09 2013 +0000 |
4 |
Commit: Markus Meier <maekke <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 1 19:09:09 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/maekke.git;a=commit;h=5a42f3c5 |
7 |
|
8 |
do not display subslot |
9 |
|
10 |
--- |
11 |
scripts/rdep | 1 + |
12 |
1 file changed, 1 insertion(+) |
13 |
|
14 |
diff --git a/scripts/rdep b/scripts/rdep |
15 |
index db11e80..6157d8c 100755 |
16 |
--- a/scripts/rdep |
17 |
+++ b/scripts/rdep |
18 |
@@ -80,6 +80,7 @@ for p in $(grep -v '^[B]' ${tmp}); do |
19 |
if [[ -e ${ebuild} && $(egrep -H "${expr}" \ |
20 |
${ebuild} | wc -l) == 1 ]]; then |
21 |
slot=$(portageq metadata / ebuild ${cpv} SLOT) |
22 |
+ slot=${slot/\/*/} # kill subslot |
23 |
if [[ ${last_pn} != ${category}/${pn}:${slot} ]]; then |
24 |
[[ -z ${use} ]] && echo "${category}/${pn}:${slot}" || echo "${category}/${pn}:${slot}[${use}]" |
25 |
fi |