diff --git a/Makefile b/Makefile index 50d2299..2df7d93 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,8 @@ install: submodules exit 1; \ fi @command -v uv >/dev/null 2>&1 || { echo "uv not found. Installing uv..."; curl -LsSf https://astral.sh/uv/install.sh | sh; } - @uv tool install -e . + @UV_BIN=$$(command -v uv 2>/dev/null || echo "$$HOME/.local/bin/uv"); \ + "$$UV_BIN" tool install -e . update: submodules @uv tool install -e . --force --reinstall