From c516a09bb8650aef8f712127f1c7aa5cbe27e3e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patryk=20Ma=C5=82ek?= Date: Mon, 7 Oct 2024 11:08:43 +0200 Subject: [PATCH] chore: gcp -> /opt/homebrew/bin/gcp --- scripts/apidocs-gen/generate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/apidocs-gen/generate.sh b/scripts/apidocs-gen/generate.sh index a3cc10d2a..cb278932f 100755 --- a/scripts/apidocs-gen/generate.sh +++ b/scripts/apidocs-gen/generate.sh @@ -28,7 +28,7 @@ KUBERNETES_CONFIGURATION_CRDS_CRDS_LOCAL_PATH="$(go env GOPATH)/pkg/mod/${KUBERN CP=cp if [[ $(uname -s) == "Darwin" ]]; then if gcp --version 2>&1 >/dev/null ; then - CP=gcp + CP=${HOMEBREW_PREFIX}/bin/gcp else echo "GNU cp is required on macOS. You can install it via Homebrew with 'brew install coreutils'." exit 1