diff --git a/extension/Makefile b/extension/Makefile index 7fd874b..c0acb56 100644 --- a/extension/Makefile +++ b/extension/Makefile @@ -52,7 +52,7 @@ clean: .PHONY: sharp sharp: package.json cat package.json \ - | jq --sort-keys ".engines.node = \"$$(asdf current nodejs 2>&1 | sed -e "s/ \{2,\}/ /g" | cut -d" " -f2)\"" > package-new.json \ + | jq --sort-keys ".engines.node = \"$$(asdf current nodejs 2>&1 | awk '{print $$2}')\"" > package-new.json \ && mv package-new.json package.json npm ci --no-fund npm prune --no-fund diff --git a/host/Makefile b/host/Makefile index 1b1332c..bebe466 100644 --- a/host/Makefile +++ b/host/Makefile @@ -73,7 +73,7 @@ clean: .PHONY: sharp sharp: go.mod - go mod edit -go=$$(asdf current golang 2>&1 | sed -e "s/ \{2,\}/ /g" | cut -d" " -f2) + go mod edit -go=$$(asdf current golang 2>&1 | awk '{print $$2}') go mod download .PHONY: all