From 4049e0de876611d1d94fbd0185a0ab9722cb8ce1 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 12 Apr 2024 09:55:59 -0400 Subject: Dereference the platform string --- src/deliverable.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit