diff options
Diffstat (limited to 'scripts/rdep')
-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 |