commit:     65a68e76dbbc3245624c79548dffb617da7885bd
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 18 21:05:55 2016 +0000
Commit:     Andreas Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Mon Apr 18 21:05:55 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65a68e76

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 c22b685..0e90e24 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
 

Reply via email to