On macOS avoid using GNU specific options (#7621)

Fix Makefile from `cp -uf` to `cp -f`. We are only
interested in `-f` anyways.
This commit is contained in:
Harshavardhana 2019-05-07 10:39:26 -07:00 committed by GitHub
parent c422f7f412
commit a71e08efb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,7 +74,7 @@ docker: build
# Builds minio and installs it to $GOPATH/bin.
install: build
@echo "Installing minio binary to '$(GOPATH)/bin/minio'"
@mkdir -p $(GOPATH)/bin && cp -uf $(PWD)/minio $(GOPATH)/bin/minio
@mkdir -p $(GOPATH)/bin && cp -f $(PWD)/minio $(GOPATH)/bin/minio
@echo "Installation successful. To learn more, try \"minio --help\"."
clean: