sys-boot/os-prober: fix doexe warning

Thanks to Peter-Levine for fix

Closes: https://github.com/gentoo/gentoo/pull/20109
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Ben Kohler
2021-03-29 07:26:24 -05:00
parent e94902a92a
commit d8d4347b25

View File

@@ -68,7 +68,9 @@ src_install() {
exeinto /usr/lib/${dir}
doexe ${dir}/common/*
if [[ -d ${dir}/${debarch} ]]; then
doexe ${dir}/${debarch}/*
for exe in ${dir}/${debarch}/*; do
[[ ! -d "${exe}" ]] && doexe "${exe}"
done
fi
if [[ -d ${dir}/${debarch}/efi ]]; then
exeinto /usr/lib/${dir}/efi