diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 7b77b64de90f7..8bab2b482cf72 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -877,7 +877,7 @@ install_sources() { dodir /usr/src einfo ">>> Copying sources ..." - file="$(find ${WORKDIR} -iname "docs" -type d)" + file="$(find "${WORKDIR}" -iname "docs" -type d)" if [[ -n ${file} ]]; then for file in $(find ${file} -type f); do echo "${file//*docs\/}" >> "${S}"/patches.txt