summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eclass/trinity-base-2.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/trinity-base-2.eclass b/eclass/trinity-base-2.eclass
index 97734077..14cca2fa 100644
--- a/eclass/trinity-base-2.eclass
+++ b/eclass/trinity-base-2.eclass
@@ -329,7 +329,7 @@ trinity-base-2_create_tmp_docfiles() {
einfo "Generating documentation list..."
for dir in ${srcdirs}; do
for doc in ${TRINITY_COMMON_DOCS}; do
- for docfile in $(find ${dir} -type f -name *"${doc}"*); do
+ for docfile in $(find ${dir} -type f -name "*${doc}*"); do
targetdoc="${docfile//\//.}"
targetdoc="${targetdoc#..}"
cp "${docfile}" "${TMP_DOCDIR}/${targetdoc}"