aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:55:59 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-04-12 09:55:59 -0400
commit4049e0de876611d1d94fbd0185a0ab9722cb8ce1 (patch)
treee8c2acb95648559a11933bcfc5265e84945eff89
parent02470a5e084010ee994e03c80d91a10e782e19b1 (diff)
downloadstasis-4049e0de876611d1d94fbd0185a0ab9722cb8ce1.tar.gz
Dereference the platform string
-rw-r--r--src/deliverable.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/deliverable.c b/src/deliverable.c
index 4fa15b0..b7331e0 100644
--- a/src/deliverable.c
+++ b/src/deliverable.c
@@ -1670,13 +1670,14 @@ int delivery_init_artifactory(struct Delivery *ctx) {
goto delivery_init_artifactory_envsetup;
}
- msg(OMC_MSG_L3, "Downloading %s for %s %s\n", globals.jfrog.remote_filename, ctx->system.platform, ctx->system.arch);
+ char *platform = ctx->system.platform[DELIVERY_PLATFORM];
+ msg(OMC_MSG_L3, "Downloading %s for %s %s\n", globals.jfrog.remote_filename, platform, ctx->system.arch);
if ((status = artifactory_download_cli(dest,
globals.jfrog.jfrog_artifactory_base_url,
globals.jfrog.jfrog_artifactory_product,
globals.jfrog.cli_major_ver,
globals.jfrog.version,
- ctx->system.platform[DELIVERY_PLATFORM],
+ platform,
ctx->system.arch,
globals.jfrog.remote_filename))) {
remove(filepath);