From ee2a4b36132ed597aeb47ff5eef354267a867451 Mon Sep 17 00:00:00 2001 From: Guilherme Cassolato Date: Mon, 16 Oct 2023 13:32:07 +0200 Subject: [PATCH] fix: install operator-sdk on macos local dev env (#273) closes #272 --- utils/install-operator-sdk.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/install-operator-sdk.sh b/utils/install-operator-sdk.sh index b4659fe95..78e9b9901 100755 --- a/utils/install-operator-sdk.sh +++ b/utils/install-operator-sdk.sh @@ -16,9 +16,9 @@ if [ ! -f "$1" ]; then # GPG can hit "no route for host" if using IPv6 on mac (https://github.com/rvm/rvm/issues/4215#issuecomment-486609350) if [[ $OS == 'darwin' ]]; then - mkdir -p "/Users/runner/.gnupg" + mkdir -p "$HOME/.gnupg" echo "Disabling ipv6 for gpg on mac" - echo "disable-ipv6" > /Users/runner/.gnupg/dirmngr.conf + echo "disable-ipv6" > $HOME/.gnupg/dirmngr.conf gpgconf --kill all fi