Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
Change-Id: I80d73fb4b346a2776bcaf6532c45c01ab807f90b
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}
@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"