From a53e3604a68f550d0b627b8180d06e936338df71 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Thu, 20 Apr 2023 20:37:46 +0200 Subject: [PATCH] Fix target folder for kitmaker Signed-off-by: Evan Lezar --- scripts/extract-packages.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/extract-packages.sh b/scripts/extract-packages.sh index e2428fce..068d79eb 100755 --- a/scripts/extract-packages.sh +++ b/scripts/extract-packages.sh @@ -95,12 +95,11 @@ function extract-all() { set -x # We need to publish the libnvidia-container0 packages to the kitmaker repository as a once off operation. # We include the packages here so that these will be added to the archive for the ubuntu18.04 arm64 packages. - target="${ARTIFACTS_DIR}/${f##/artifacts/}" - mkdir -p "$(dirname ${target})/packages/ubuntu18.04/arm64/" + mkdir -p "${ARTIFACTS_DIR}/packages/ubuntu18.04/arm64/" curl -L "https://nvidia.github.io/libnvidia-container/ubuntu18.04/arm64/libnvidia-container0_0.10.0+jetpack_arm64.deb" \ - --output "${target}/packages/ubuntu18.04/arm64/libnvidia-container0_0.10.0+jetpack_arm64.deb" + --output "${ARTIFACTS_DIR}/packages/ubuntu18.04/arm64/libnvidia-container0_0.10.0+jetpack_arm64.deb" curl -L "https://nvidia.github.io/libnvidia-container/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb" \ - --output "${target}/packages/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb" + --output "${ARTIFACTS_DIR}/packages/ubuntu18.04/arm64/libnvidia-container0_0.11.0+jetpack_arm64.deb" set +x fi