diff options
Diffstat (limited to 'eclass/common-lisp-3.eclass')
-rw-r--r-- | eclass/common-lisp-3.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/common-lisp-3.eclass b/eclass/common-lisp-3.eclass index 5314e391db8f..df624d51607c 100644 --- a/eclass/common-lisp-3.eclass +++ b/eclass/common-lisp-3.eclass @@ -127,7 +127,9 @@ common-lisp-install-sources() { if [[ -f ${path} ]] ; then common-lisp-install-one-source ${fpredicate} "${path}" "$(dirname "${path}")" elif [[ -d ${path} ]] ; then - common-lisp-install-sources -t ${ftype} $(find "${path}" -type f) + local files + readarray -d '' files < <(find "${path}" -type f -print0 || die "cannot traverse ${path}" ) + common-lisp-install-sources -t ${ftype} "${files[@]}" || die else die "${path} is neither a regular file nor a directory" fi |