commit:     9fe9f97114bde369fe8a1527b06f17a262ea5f40
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 11:34:05 2019 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 11:34:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe9f971

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 <AT> gentoo.org>

 dev-util/nvidia-cuda-sdk/nvidia-cuda-sdk-10.1.243.ebuild | 6 +++---
 1 file 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 3503fb5b2ca..e63a0c26df9 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
 

Reply via email to