Fix building openshift-install binary 42/1142/1
authorRicardo Noriega <rnoriega@redhat.com>
Tue, 9 Jul 2019 10:28:42 +0000 (12:28 +0200)
committerRicardo Noriega <rnoriega@redhat.com>
Tue, 9 Jul 2019 10:28:42 +0000 (12:28 +0200)
Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I80d73fb4b346a2776bcaf6532c45c01ab807f90b

Makefile

index 1e3476d..163bdeb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,6 @@ GOFILES=$(wildcard *.go)
 GONAME="knictl"
 
 BUILDDIR = $(shell pwd)/build
-BINDIR = $(shell pwd)/bin
 INSTALLER_GIT_REPO = github.com/openshift/installer
 RHCOS_VERSION = "maipo"
 export PATH:=${HOME}/go/bin:${PATH}
@@ -40,7 +39,7 @@ binary:
        @echo
        @echo "Building installer binary"
        echo export INSTALLER_GIT_TAG=${INSTALLER_GIT_TAG} > /tmp/ocp_installer_version
-       @./bin/$(GONAME) binary --bin_path ${BINDIR} --installer_repository ${INSTALLER_GIT_REPO} --installer_tag ${INSTALLER_GIT_TAG}
+       @./$(GONAME) binary --installer_repository ${INSTALLER_GIT_REPO} --installer_tag ${INSTALLER_GIT_TAG}
 
 build:
        @echo "Building knictl with $(GOPATH) to knictl.tar.gz"