projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
907cfcb
)
perl-module.eclass: Fix bash array handling of DIST_EXAMPLES
author
Andreas K. Hüttel
<dilfridge@gentoo.org>
Mon, 18 Apr 2016 21:05:55 +0000
(23:05 +0200)
committer
Andreas K. Hüttel
<dilfridge@gentoo.org>
Mon, 18 Apr 2016 21:05:55 +0000
(23:05 +0200)
eclass/perl-module.eclass
patch
|
blob
|
history
diff --git
a/eclass/perl-module.eclass
b/eclass/perl-module.eclass
index c22b685829909f0e9f901d3bab5a19b2e8bd715d..0e90e24408661ef0a0922c7e2b5153f7c285da71 100644
(file)
--- 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