diff --git a/acceptance/framework/cli/cli.go b/acceptance/framework/cli/cli.go index 65a0b562b3..8de6a21fb1 100644 --- a/acceptance/framework/cli/cli.go +++ b/acceptance/framework/cli/cli.go @@ -18,7 +18,7 @@ type CLI struct { // NewCLI compiles the `consul-k8s` CLI and returns a handle to execute commands // with the binary. func NewCLI() (*CLI, error) { - cmd := exec.Command("go build -o ./bin/consul-k8s") + cmd := exec.Command("go build -o ./consul-k8s") cmd.Dir = "../../../cli" b, err := cmd.Output() if err != nil { @@ -26,7 +26,7 @@ func NewCLI() (*CLI, error) { } fmt.Println(string(b)) - cmd = exec.Command("cp ./bin/consul-k8s ${GOPATH}/bin/") + cmd = exec.Command("mv ./consul-k8s ${GOPATH}/bin/") cmd.Dir = "../../../cli" b, err = cmd.Output() if err != nil {