From: Ricardo Noriega Date: Tue, 9 Jul 2019 10:28:42 +0000 (+0200) Subject: Fix building openshift-install binary X-Git-Tag: akraino_r2~62 X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=commitdiff_plain;h=ba3addfa1426f397fd9649664d5051475098ce0d;p=kni%2Finstaller.git Fix building openshift-install binary Signed-off-by: Ricardo Noriega Change-Id: I80d73fb4b346a2776bcaf6532c45c01ab807f90b --- diff --git a/Makefile b/Makefile index 1e3476d..163bdeb 100644 --- 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"