From 0dfa1e74d61316e4a2203171bdd2c94241687b58 Mon Sep 17 00:00:00 2001 From: Adam Farley Date: Thu, 5 Sep 2024 15:46:09 +0100 Subject: [PATCH] Fetch jars and shas from same location If we are getting our third party dependent shas from a custom URL, then the jars should also come from the same location. Signed-off-by: Adam Farley --- scripts/getDependencies.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/getDependencies.pl b/scripts/getDependencies.pl index 85528a2b..2f114eba 100644 --- a/scripts/getDependencies.pl +++ b/scripts/getDependencies.pl @@ -306,10 +306,10 @@ $url_custom .= "systemtest_prereqs/"; $url_custom .= $jars_info[$i]{dir}; $url_custom .= '/' unless $url_custom =~ /\/$/; - $url_custom .= $jars_info[$i]{fname}; - $url = "$url_custom"; } + $url = "$url_custom/$jars_info[$i]{fname}"; + if (defined $shaurl && $shaurl ne '') { $shaurl = "$url_custom/$shafn"; }