dev-util/bcc: Fix install name of trace tool

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2022-01-14 10:51:19 -08:00
parent bdc76112c3
commit 665e19ac17

View File

@@ -120,7 +120,7 @@ src_install() {
for tool in "${ED}"/usr/share/bcc/tools/*; do
[[ ! -x ${tool} && ! -L ${tool} || -d ${tool} ]] && continue
name=${tool##*/}
[[ -n ${rename_tools[${tool##*/}]} ]] && name=bcc-${tool}
[[ -n ${rename_tools[${name}]} ]] && name=bcc-${name}
dosym8 -r "${tool#${ED}}" /usr/sbin/${name}
done