mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 13:35:00 +00:00
Ensure CURL is set for kitmaker upload
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
9db31f7506
commit
08640a6f64
@ -45,6 +45,8 @@ DIST=${DISTARCH%-*}
|
|||||||
ARCH=${DISTARCH#*-}
|
ARCH=${DISTARCH#*-}
|
||||||
ARTIFACTORY_URL=$2
|
ARTIFACTORY_URL=$2
|
||||||
|
|
||||||
|
CURL=${CURL:-curl}
|
||||||
|
|
||||||
if [[ -z "${DIST}" || -z "${ARCH}" ]]; then
|
if [[ -z "${DIST}" || -z "${ARCH}" ]]; then
|
||||||
echo "ERROR: Distro and Architecture must be specified." >&2
|
echo "ERROR: Distro and Architecture must be specified." >&2
|
||||||
assert_usage "$@"
|
assert_usage "$@"
|
||||||
|
Loading…
Reference in New Issue
Block a user