summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2016-04-18 23:05:55 +0200
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-04-18 23:05:55 +0200
commit65a68e76dbbc3245624c79548dffb617da7885bd (patch)
tree9249d004ad20a004ed6ae9468e7ad7396a34279f /eclass
parentdev-perl/App-cpanminus: Version bump (diff)
downloadgentoo-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.eclass2
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