setup: fix uv (#33975)

* fix

* fix

* fix

* fix
This commit is contained in:
Maxime Desroches
2024-11-09 22:16:41 -08:00
committed by GitHub
parent 47bd0f0166
commit 5b0994c53c
2 changed files with 24 additions and 25 deletions
+2 -3
View File
@@ -24,9 +24,8 @@ function update_uv() {
if ! command -v "uv" > /dev/null 2>&1; then
echo "installing uv..."
curl -LsSf https://astral.sh/uv/install.sh | sh
UV_BIN="$HOME/.cargo/env"
ADD_PATH_CMD=". \"$UV_BIN\""
eval "$ADD_PATH_CMD"
UV_BIN="$HOME/.local/bin"
PATH="$UV_BIN:$PATH"
fi
echo "updating uv..."