dev-util/nvidia-cuda-sdk: remove unnecessary slash strip.

Package-Manager: Portage-2.3.79, Repoman-2.3.17
Signed-off-by: Benda Xu <heroxbd@gentoo.org>
This commit is contained in:
Benda Xu
2019-11-18 19:34:05 +08:00
parent a69a3cf821
commit 9fe9f97114

View File

@@ -99,12 +99,12 @@ src_install() {
if use doc; then
ebegin "Installing docs ..."
while IFS="" read -d $'\0' -r f; do
treecopy "${f}" "${ED%/}"/usr/share/doc/${PF}/
treecopy "${f}" "${ED}"/usr/share/doc/${PF}/
done < <(find -type f \( -name 'readme.txt' -o -name '*.pdf' \) -print0)
while IFS="" read -d $'\0' -r f; do
docompress -x "${f#${ED%/}}"
done < <(find "${ED%/}"/usr/share/doc/${PF}/ -type f -name 'readme.txt' -print0)
docompress -x "${f#${ED}}"
done < <(find "${ED}"/usr/share/doc/${PF}/ -type f -name 'readme.txt' -print0)
eend
fi