mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user