From bad06d19b51b56cca00a03f3bb6f1bf9487d88e5 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Tue, 7 May 2024 23:47:11 -0700 Subject: [PATCH] Fix s3_determine func --- iso/empanadas/empanadas/util/shared.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/iso/empanadas/empanadas/util/shared.py b/iso/empanadas/empanadas/util/shared.py index df599b7..a4bcfbe 100644 --- a/iso/empanadas/empanadas/util/shared.py +++ b/iso/empanadas/empanadas/util/shared.py @@ -642,10 +642,12 @@ class Shared: for arch in arches: temps = [] new_arch = arch + new_release = release # This is lazy, but... if root_prefix == 'buildiso': new_arch = translators[arch] - start_of_path = f"{root_prefix}-{release.split('.')[0]}-{new_arch}" + new_release = release.split('.')[0] + start_of_path = f"{root_prefix}-{new_release}-{new_arch}" for y in temp: if arch in y and y.startswith(start_of_path): temps.append(y)