mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-29 16:02:10 +00:00
278fa43303
Signed-off-by: Evan Lezar <elezar@nvidia.com>
11 lines
303 B
Bash
Executable File
11 lines
303 B
Bash
Executable File
#! /bin/bash
|
|
|
|
set -e
|
|
|
|
sed -i "s;@SECTION@;${SECTION:+$SECTION/};g" debian/control
|
|
sed -i "s;@LIBNVIDIA_CONTAINER_TOOLS_VERSION@;${LIBNVIDIA_CONTAINER_TOOLS_VERSION:+$LIBNVIDIA_CONTAINER_TOOLS_VERSION};g" debian/control
|
|
|
|
if [ -n "$DISTRIB" ]; then
|
|
sed -i "s;UNRELEASED;$DISTRIB;" debian/changelog
|
|
fi
|