From 08640a6f64d5e27d7f30adadba39fc78f2960d8c Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 10 Nov 2022 14:56:09 +0100 Subject: [PATCH] Ensure CURL is set for kitmaker upload Signed-off-by: Evan Lezar --- scripts/release-kitmaker-artifactory.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/release-kitmaker-artifactory.sh b/scripts/release-kitmaker-artifactory.sh index 8d8834d0..7e1b24b1 100755 --- a/scripts/release-kitmaker-artifactory.sh +++ b/scripts/release-kitmaker-artifactory.sh @@ -45,6 +45,8 @@ DIST=${DISTARCH%-*} ARCH=${DISTARCH#*-} ARTIFACTORY_URL=$2 +CURL=${CURL:-curl} + if [[ -z "${DIST}" || -z "${ARCH}" ]]; then echo "ERROR: Distro and Architecture must be specified." >&2 assert_usage "$@"