Fix kitmaker release for opensuse-leap

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-11-21 16:19:13 +01:00
parent 53bb940b30
commit 22e65b320b
3 changed files with 3 additions and 3 deletions

View File

@ -34,7 +34,7 @@ fi
PACKAGE_IMAGE=$1
DISTARCH=$2
DIST=${DISTARCH%-*}
ARCH=${DISTARCH#*-}
ARCH=${DISTARCH##*-}
if [[ -z "${DIST}" || -z "${ARCH}" ]]; then
echo "ERROR: Distro and Architecture must be specified." >&2

View File

@ -42,7 +42,7 @@ source "${SCRIPTS_DIR}"/utils.sh
DISTARCH=$1
DIST=${DISTARCH%-*}
ARCH=${DISTARCH#*-}
ARCH=${DISTARCH##*-}
ARTIFACTORY_URL=$2
CURL=${CURL:-curl}

View File

@ -46,7 +46,7 @@ fi
DISTARCH=$1
ARTIFACTORY_PATH=$2
DIST=${DISTARCH%-*}
ARCH=${DISTARCH#*-}
ARCH=${DISTARCH##*-}
CURL=${CURL:-curl}