mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-util/nvidia-cuda-toolkit: [QA] Fix UnnecessarySlashStrip
Signed-off-by: David Seifert <soap@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user