From 44140e6025d1acdcb8d2a290a647ed9e0c0f51a9 Mon Sep 17 00:00:00 2001
From: Timo Furrer <tfurrer@gitlab.com>
Date: Thu, 18 Jan 2024 16:13:52 +0100
Subject: [PATCH] Make path absolut

---
 Makefile                         | 3 +++
 backports/OpenTofu.gitlab-ci.yml | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 5156e34..741a17b 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,9 @@ BACKPORTS_BASE_FILE := $(BACKPORTS_BASE_DIR)/Base.gitlab-ci.yml
 
 .PHONY: backports
 
+# NOTE: this make target requires GNU sed and not the mac OS sed. 
+#       Install it with `brew install gnu-sed` and follow the instructions in `brew info gnu-sed` to 
+#       make it the standard `sed` binary (if you wish) or temporarily alias sed=gsed
 backports:
 	@mkdir -p $(BACKPORTS_BASE_DIR)
 	@echo 'variables:' > $(BACKPORTS_BASE_FILE)
diff --git a/backports/OpenTofu.gitlab-ci.yml b/backports/OpenTofu.gitlab-ci.yml
index f1334ae..e7c5c0e 100644
--- a/backports/OpenTofu.gitlab-ci.yml
+++ b/backports/OpenTofu.gitlab-ci.yml
@@ -13,7 +13,7 @@
 # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/OpenTofu.gitlab-ci.yml
 
 include:
-  - local: OpenTofu/Base.latest.gitlab-ci.yml  # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/OpenTofu/Base.latest.gitlab-ci.yml
+  - local: /backports/OpenTofu/Base.latest.gitlab-ci.yml  # https://gitlab.com/gitlab-org/gitlab/blob/master/lib/gitlab/ci/templates/OpenTofu/Base.latest.gitlab-ci.yml
 
 stages: [validate, test, build, deploy]
 
-- 
GitLab