From eee07009bb0def1eedd226b6c21a9ca023883309f86827c444d29e0f86d74f35 Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 12 Nov 2024 19:00:22 +0000 Subject: [PATCH] rancher-turtles: Fix IMG_PREFIX macros Currently the substitution is not working correctly --- rancher-turtles-airgap-resources-chart/_service | 2 +- rancher-turtles-chart/_service | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rancher-turtles-airgap-resources-chart/_service b/rancher-turtles-airgap-resources-chart/_service index 6b8f891..415ab01 100644 --- a/rancher-turtles-airgap-resources-chart/_service +++ b/rancher-turtles-airgap-resources-chart/_service @@ -2,7 +2,7 @@ Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX diff --git a/rancher-turtles-chart/_service b/rancher-turtles-chart/_service index c3f6878..4f6fb26 100644 --- a/rancher-turtles-chart/_service +++ b/rancher-turtles-chart/_service @@ -2,14 +2,14 @@ values.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX IMG_REPO=$(rpm --macros=/root/.rpmmacros -E %img_repo) IMG_REPO Chart.yaml - IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %img_prefix) + IMG_PREFIX=$(rpm --macros=/root/.rpmmacros -E %{?img_prefix}) IMG_PREFIX -- 2.45.2