From a71e08efb4df4df0f1d3e87227610b66b5e314cd Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 7 May 2019 10:39:26 -0700 Subject: [PATCH] On macOS avoid using GNU specific options (#7621) Fix Makefile from `cp -uf` to `cp -f`. We are only interested in `-f` anyways. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0eba81179..54603baf7 100644 --- a/Makefile +++ b/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: