From 65a68e76dbbc3245624c79548dffb617da7885bd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andreas=20K=2E=20H=C3=BCttel?= Date: Mon, 18 Apr 2016 23:05:55 +0200 Subject: [PATCH] perl-module.eclass: Fix bash array handling of DIST_EXAMPLES --- eclass/perl-module.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2