Skip to content

Commit

Permalink
fix: install operator-sdk on macos local dev env (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
guicassolato authored Nov 23, 2023
1 parent ff5f358 commit 705a68d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/install-operator-sdk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 705a68d

Please sign in to comment.