dev-util/nvidia-cuda-toolkit: fix CI warning

Removing trailing slash causes a CI warning, as it's not necessary.

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Guilherme Amadio <amadio@gentoo.org>
This commit is contained in:
Guilherme Amadio
2020-09-28 17:09:41 +02:00
parent 41e01173f9
commit 737e4f763b

View File

@@ -203,7 +203,7 @@ src_install() {
}
pkg_postinst_check() {
local a="$(${EROOT%/}/opt/cuda/bin/cuda-config -s)"
local a="$(${EROOT}/opt/cuda/bin/cuda-config -s)"
local b="0.0"
local v
for v in ${a}; do