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