Makefile: Create bin directory if it doesn't exist (#2466)

This commit is contained in:
kannappanr
2018-06-18 07:42:13 -07:00
committed by GitHub
parent 8cf797da5f
commit 1a5aab3ff4
+1 -1
View File
@@ -89,7 +89,7 @@ pkg-list:
# Builds minio and installs it to $GOPATH/bin.
install: build
@echo "Installing mc binary to '$(GOPATH)/bin/mc'"
@cp $(PWD)/mc $(GOPATH)/bin/mc
@mkdir -p $(GOPATH)/bin && cp $(PWD)/mc $(GOPATH)/bin/mc
@echo "Installation successful. To learn more, try \"mc --help\"."
clean: