summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKent Fredric <kentfredric@gmail.com>2016-04-11 16:32:17 +1200
committerKent Fredric <kentnl@gentoo.org>2017-09-17 12:06:57 +1200
commit37fa3b71e00e5a927c90b0c7d99f92f846664e53 (patch)
tree8440a620a381f6303879a2b65803892f6209a4fb /eclass
parentperl-functions.eclass: Declare perlinfo_done (diff)
downloadperl-overlay-37fa3b71e00e5a927c90b0c7d99f92f846664e53.tar.gz
perl-overlay-37fa3b71e00e5a927c90b0c7d99f92f846664e53.tar.bz2
perl-overlay-37fa3b71e00e5a927c90b0c7d99f92f846664e53.zip
perl-functions.eclass: Sync perl_delete_packlist
Diffstat (limited to 'eclass')
-rw-r--r--eclass/perl-functions.eclass5
1 files changed, 2 insertions, 3 deletions
diff --git a/eclass/perl-functions.eclass b/eclass/perl-functions.eclass
index 5393af526..a54b27318 100644
--- a/eclass/perl-functions.eclass
+++ b/eclass/perl-functions.eclass
@@ -158,9 +158,8 @@ perl_delete_packlist() {
debug-print-function $FUNCNAME "$@"
perl_set_version
if [[ -d ${D}/${VENDOR_ARCH} ]] ; then
- find "${D}/${VENDOR_ARCH}" -type f -a \( -name .packlist \
- -o \( -name '*.bs' -a -empty \) \) -delete
- find "${D}" -depth -mindepth 1 -type d -empty -delete
+ find "${D}/${VENDOR_ARCH}" -type f -a -name .packlist -delete
+ perl_delete_emptybsdir
fi
}