On macOS avoid using GNU specific options (#7621)

Fix Makefile from `cp -uf` to `cp -f`. We are only
interested in `-f` anyways.
master
Harshavardhana 6 years ago committed by GitHub
parent c422f7f412
commit a71e08efb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Makefile

@ -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:

Loading…
Cancel
Save