summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-03-29 07:26:24 -0500
committerBen Kohler <bkohler@gentoo.org>2021-03-29 07:26:38 -0500
commitd8d4347b25d5cdb04014efbecd08cec970ff8abd (patch)
treefc2a5fc25a70d839855efdb7dfd6a2470d0f4cfa /sys-boot
parentsys-process/cronie: Bump to version 1.5.7 (diff)
downloadgentoo-d8d4347b25d5cdb04014efbecd08cec970ff8abd.tar.gz
gentoo-d8d4347b25d5cdb04014efbecd08cec970ff8abd.tar.bz2
gentoo-d8d4347b25d5cdb04014efbecd08cec970ff8abd.zip
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>
Diffstat (limited to 'sys-boot')
-rw-r--r--sys-boot/os-prober/os-prober-1.78.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys-boot/os-prober/os-prober-1.78.ebuild b/sys-boot/os-prober/os-prober-1.78.ebuild
index 6b81b75a08cc..93272217dfe7 100644
--- a/sys-boot/os-prober/os-prober-1.78.ebuild
+++ b/sys-boot/os-prober/os-prober-1.78.ebuild
@@ -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