From d361ee542273669107263a69797f4b732130a015 Mon Sep 17 00:00:00 2001 From: Lantao Liu Date: Thu, 4 Jan 2018 07:05:31 +0000 Subject: [PATCH] Fix install-deps Signed-off-by: Lantao Liu --- hack/install-deps.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hack/install-deps.sh b/hack/install-deps.sh index 6291887ce..42cd5acc7 100755 --- a/hack/install-deps.sh +++ b/hack/install-deps.sh @@ -141,7 +141,8 @@ ${sudo} make install -e DESTDIR=${CONTAINERD_DIR} checkout_repo ${CRITOOL_PKG} ${CRITOOL_VERSION} cd ${GOPATH}/src/${CRITOOL_PKG} make -${sudo} make install -e BINDIR=${CRICTL_DIR} +# make install critools require GOPATH to be set correctly. +${sudo} make install -e BINDIR=${CRICTL_DIR} GOPATH=${GOPATH} ${sudo} mkdir -p ${CRICTL_CONFIG_DIR} ${sudo} bash -c 'cat >'${CRICTL_CONFIG_DIR}'/crictl.yaml <