diff --git a/acceptance/framework/cli/cli.go b/acceptance/framework/cli/cli.go index 036f9dd87c..e9b1c7472e 100644 --- a/acceptance/framework/cli/cli.go +++ b/acceptance/framework/cli/cli.go @@ -18,11 +18,11 @@ 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("which", "cli") + cmd := exec.Command("pwd") + cmd.Dir = "../../.." b, _ := cmd.Output() - cmd = exec.Command("cli", "--help") - b, _ = cmd.Output() - fmt.Println("CLI: " + string(b)) + fmt.Println(string(b)) + cmd = exec.Command("make", "cli-dev") cmd.Dir = "../../.." b, err := cmd.Output()