From ebb58c23a786b2ba714ff07b1795efea7ef37132 Mon Sep 17 00:00:00 2001 From: Bartek Plotka Date: Tue, 18 Sep 2018 17:54:47 +0100 Subject: [PATCH] make: Mkdir bin path if empty (always empty on cross_build CI step). Signed-off-by: Bartek Plotka --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index f6f0af6f44..23beaab07b 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,8 @@ ALERTMANAGER_VERSION ?=v0.15.2 # $(1): Install path. (e.g github.com/golang/dep/cmd/dep) # $(2): Tag or revision for checkout. define fetch_go_bin_version + mkdir -p $(BIN_DIR) + @echo ">> fetching $(1)@$(2) revision/version" @if [ ! -d "$(TMP_GOPATH)/src/$(1)" ]; then \ GOPATH=$(TMP_GOPATH) go get -d -u $(1); \