From 80c3a044b3252ef96d434045e54f87e903d37547 Mon Sep 17 00:00:00 2001 From: Paulo Lieuthier Date: Tue, 19 Sep 2023 07:53:01 -0300 Subject: [PATCH] pkr: install gnu-sed with precedence --- pkr/runner.pkr.hcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkr/runner.pkr.hcl b/pkr/runner.pkr.hcl index 7ffe365..2ca98ea 100644 --- a/pkr/runner.pkr.hcl +++ b/pkr/runner.pkr.hcl @@ -35,7 +35,7 @@ build { "HOMEBREW_INSTALL_FROM_API=1 brew install git jq skopeo gh gnu-sed parallel", - "echo \"$(brew --prefix)/opt/gnu-sed/libexec/gnubin\" | sudo tee -a /etc/paths", + "sudo ln -s /usr/local/bin/gsed /usr/local/bin/sed", "sudo git config --system credential.helper ''", # don't install through brew because of installation errors