From 90df3caf625ec1c55e3cc27391edaab800ef37b4 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 27 Jul 2022 13:30:31 +0200 Subject: [PATCH] Fix setting of LIBNVIDIA_CONTAINER_TAG Signed-off-by: Evan Lezar --- scripts/get-component-versions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get-component-versions.sh b/scripts/get-component-versions.sh index e70f9181..3c82e7e2 100755 --- a/scripts/get-component-versions.sh +++ b/scripts/get-component-versions.sh @@ -38,7 +38,7 @@ libnvidia_container_version_tag=$(grep "#define NVC_VERSION" ${LIBNVIDIA_CONTAIN | sed -e 's/#define NVC_VERSION[[:space:]]"\(.*\)"/\1/') libnvidia_container_version=${libnvidia_container_version_tag%%~*} libnvidia_container_tag=${libnvidia_container_version_tag##${libnvidia_container_version}} -libnvidia_container_tag=${libnvidia_container_tag##~} +libnvidia_container_tag=${libnvidia_container_tag##\~} versions_makefile=${NVIDIA_CONTAINER_TOOLKIT_ROOT}/versions.mk # Get version for nvidia-container-toolit