diff options
author | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-04-18 23:05:55 +0200 |
---|---|---|
committer | Andreas K. Hüttel <dilfridge@gentoo.org> | 2016-04-18 23:05:55 +0200 |
commit | 65a68e76dbbc3245624c79548dffb617da7885bd (patch) | |
tree | 9249d004ad20a004ed6ae9468e7ad7396a34279f /eclass | |
parent | dev-perl/App-cpanminus: Version bump (diff) | |
download | gentoo-65a68e76dbbc3245624c79548dffb617da7885bd.tar.gz gentoo-65a68e76dbbc3245624c79548dffb617da7885bd.tar.bz2 gentoo-65a68e76dbbc3245624c79548dffb617da7885bd.zip |
perl-module.eclass: Fix bash array handling of DIST_EXAMPLES
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/perl-module.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
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 |