dev-util/nvidia-cuda-toolkit: [QA] Fix UnnecessarySlashStrip

Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
David Seifert
2020-02-08 17:22:15 +01:00
parent 60a0036708
commit edf586ded9
2 changed files with 2 additions and 2 deletions

View 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

View 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