Ensure CURL is set for kitmaker upload

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-11-10 14:56:09 +01:00
parent 9db31f7506
commit 08640a6f64

View File

@ -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 "$@"