diff options
author | Markus Meier <maekke@gentoo.org> | 2013-10-01 21:09:09 +0200 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2013-10-01 21:09:09 +0200 |
commit | 5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d (patch) | |
tree | ef17768dd8724ece5a2afad977d75b4233598827 /scripts | |
parent | sync with gentoo-x86 (diff) | |
download | maekke-5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d.tar.gz maekke-5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d.tar.bz2 maekke-5a42f3c5b51ecd5fff18a5556935f4cfc6b9b29d.zip |
do not display subslot
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rdep | 1 |
1 files changed, 1 insertions, 0 deletions
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 |