dev-util/nvidia-cuda-toolkit: [QA] Fix UnnecessarySlashStrip
authorDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:22:15 +0000 (17:22 +0100)
committerDavid Seifert <soap@gentoo.org>
Sat, 8 Feb 2020 16:22:15 +0000 (17:22 +0100)
Signed-off-by: David Seifert <soap@gentoo.org>
dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.105-r1.ebuild
dev-util/nvidia-cuda-toolkit/nvidia-cuda-toolkit-10.1.168.ebuild

index 49309eb9f29712d27895c1b93db455b563a54c4d..de2c8e277a46ea50788a99d89ad6f838cfc0a4e9 100644 (file)
@@ -120,7 +120,7 @@ src_install() {
 
 pkg_postinst_check() {
        local a b
-       a="$(${EROOT%/}/opt/cuda/bin/cuda-config -s)"
+       a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
        b="0.0"
        for v in $a; do
                if ver_test "${v}" -gt "${b}"; then
index 2f30ea558cca6bb527964b9fea1775905d9bd970..bbac873e8ec32bea3a94a30ac20686cfe2129a93 100644 (file)
@@ -120,7 +120,7 @@ src_install() {
 
 pkg_postinst_check() {
        local a b
-       a="$(${EROOT%/}/opt/cuda/bin/cuda-config -s)"
+       a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
        b="0.0"
        for v in $a; do
                if ver_test "${v}" -gt "${b}"; then