From 95cb313eefd548fea44f51c2608fba43f089633f Mon Sep 17 00:00:00 2001 From: techknowlogick Date: Fri, 24 Mar 2023 16:30:10 -0400 Subject: [PATCH] ensure go/bin path exists when copying hugo bin into it --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5538c01d3d00b..fb436b1ca893c 100644 --- a/Makefile +++ b/Makefile @@ -823,7 +823,7 @@ docs: deps-docs .PHONY: deps-docs deps-docs: @hash hugo > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - curl -sL https://github.com/gohugoio/hugo/releases/download/v$(HUGO_VERSION)/hugo_$(HUGO_VERSION)_Linux-64bit.tar.gz | tar zxf - -C /tmp && mv /tmp/hugo ~/go/bin/hugo && chmod +x ~/go/bin/hugo; \ + curl -sL https://github.com/gohugoio/hugo/releases/download/v$(HUGO_VERSION)/hugo_$(HUGO_VERSION)_Linux-64bit.tar.gz | tar zxf - -C /tmp && mkdir -p ~/go/bin && mv /tmp/hugo ~/go/bin/hugo && chmod +x ~/go/bin/hugo; \ fi .PHONY: deps