From 390608d75939c9392a7e992dbfa27c0aea2347f1 Mon Sep 17 00:00:00 2001 From: Caleb Xu Date: Wed, 18 Dec 2019 23:39:31 -0500 Subject: [PATCH] kyma-cli: remove gopath Closes #48044. Signed-off-by: Jonathan Chang --- Formula/kyma-cli.rb | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/Formula/kyma-cli.rb b/Formula/kyma-cli.rb index 11f29a42bd..a0e01b6b80 100644 --- a/Formula/kyma-cli.rb +++ b/Formula/kyma-cli.rb @@ -16,14 +16,8 @@ class KymaCli < Formula depends_on "go" => :build def install - ENV["GOPATH"] = buildpath - bin_path = buildpath/"src/github.com/kyma-project/cli/" - bin_path.install Dir["*"] - - cd bin_path do - system "make", "build-darwin" - bin.install "bin/kyma-darwin" => "kyma" - end + system "make", "build-darwin" + bin.install "bin/kyma-darwin" => "kyma" end test do