Update build all components for meta packages

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar
2023-04-25 16:31:33 +02:00
parent 8a2de90c28
commit c30764b7cc
2 changed files with 43 additions and 15 deletions

View File

@@ -34,3 +34,10 @@ function get_artifactory_repository() {
;;
esac
}
function get_package_target() {
local target=$1
local dist=${target%-*}
local arch=${target##*-}
echo "${dist}/${arch}"
}