From 9324fed5deed411e3bcc92d0309a7dd5e2cb6bf0 Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Wed, 16 May 2018 12:05:50 +0200 Subject: [PATCH] Fixed duplicit copying of /src into existing source directory --- build/bin/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/bin/Makefile b/build/bin/Makefile index d81d9314..c1861871 100644 --- a/build/bin/Makefile +++ b/build/bin/Makefile @@ -18,7 +18,7 @@ test-all: prepare-sources prepare-sources: @ [ -n "`ls /src 2> /dev/null`" ] || (echo "/src doesn't exist or is empty" 1>&2 && exit 1) - cp -r /src $(GOPATH)/src/blockbook + [ -d $(GOPATH)/src/blockbook ] || cp -r /src $(GOPATH)/src/blockbook $(MAKE) prepare-vendor prepare-vendor: