From 4d1319d111221c039378c27a7ec8af5ba1d5e90c Mon Sep 17 00:00:00 2001 From: Di Xu Date: Mon, 27 Nov 2017 11:19:05 +0800 Subject: [PATCH] use gnu-cp in building etcd image --- cluster/images/etcd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/images/etcd/Makefile b/cluster/images/etcd/Makefile index b32a266f764..bf4e6505909 100644 --- a/cluster/images/etcd/Makefile +++ b/cluster/images/etcd/Makefile @@ -53,7 +53,7 @@ endif build: # Copy the content in this dir to the temp dir, # without copying the subdirectories. - find ./ -maxdepth 1 -type f | xargs cp -t $(TEMP_DIR) + find ./ -maxdepth 1 -type f | xargs -I {} cp {} $(TEMP_DIR) # Compile attachlease docker run -i -v $(shell pwd)/../../../:/go/src/k8s.io/kubernetes -v $(TEMP_DIR):/build -e GOARCH=$(ARCH) golang:$(GOLANG_VERSION) \