mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 13:35:00 +00:00
Fix setting of LIBNVIDIA_CONTAINER_TAG
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
50db66a925
commit
90df3caf62
@ -38,7 +38,7 @@ libnvidia_container_version_tag=$(grep "#define NVC_VERSION" ${LIBNVIDIA_CONTAIN
|
|||||||
| sed -e 's/#define NVC_VERSION[[:space:]]"\(.*\)"/\1/')
|
| sed -e 's/#define NVC_VERSION[[:space:]]"\(.*\)"/\1/')
|
||||||
libnvidia_container_version=${libnvidia_container_version_tag%%~*}
|
libnvidia_container_version=${libnvidia_container_version_tag%%~*}
|
||||||
libnvidia_container_tag=${libnvidia_container_version_tag##${libnvidia_container_version}}
|
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
|
versions_makefile=${NVIDIA_CONTAINER_TOOLKIT_ROOT}/versions.mk
|
||||||
# Get version for nvidia-container-toolit
|
# Get version for nvidia-container-toolit
|
||||||
|
Loading…
Reference in New Issue
Block a user