summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-11-18 19:34:05 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-11-18 19:34:28 +0800
commit9fe9f97114bde369fe8a1527b06f17a262ea5f40 (patch)
tree2134f6e7f2bf7c5ad787c1bb48aa01eeffc497e3 /dev-util
parentapp-emacs/initsplit: amd64/x86 stable, (ALLARCHES policy) wrt bug #700148 (diff)
downloadgentoo-9fe9f97114bde369fe8a1527b06f17a262ea5f40.tar.gz
gentoo-9fe9f97114bde369fe8a1527b06f17a262ea5f40.tar.bz2
gentoo-9fe9f97114bde369fe8a1527b06f17a262ea5f40.zip
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>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild
index 3503fb5b2caa..e63a0c26df91 100644
--- a/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild
+++ b/dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild
@@ -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