From: Andreas K. Hüttel Date: Mon, 18 Apr 2016 21:05:55 +0000 (+0200) Subject: perl-module.eclass: Fix bash array handling of DIST_EXAMPLES X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=65a68e76dbbc3245624c79548dffb617da7885bd;p=gentoo.git perl-module.eclass: Fix bash array handling of DIST_EXAMPLES --- diff --git a/eclass/perl-module.eclass b/eclass/perl-module.eclass index c22b68582990..0e90e2440866 100644 --- a/eclass/perl-module.eclass +++ b/eclass/perl-module.eclass @@ -431,7 +431,7 @@ perl-module_src_install() { if [[ ${EAPI:-0} != 5 ]] ; then if in_iuse examples && use examples ; then - [[ -z "${DIST_EXAMPLES}" ]] || perl_doexamples ${DIST_EXAMPLES} + [[ ${#DIST_EXAMPLES[@]} -eq 0 ]] || perl_doexamples "${DIST_EXAMPLES[@]}" fi fi