diff options
Diffstat (limited to 'dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild')
-rw-r--r-- | dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild | 6 |
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 |