mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-10-23 09:21:55 +02:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
@@ -440,6 +440,13 @@ __EOT__
|
|||||||
install_uv() {
|
install_uv() {
|
||||||
# Install `uv` (or update as necessary)
|
# Install `uv` (or update as necessary)
|
||||||
download_url https://astral.sh/uv/install.sh - | TMPDIR="$(posix_ish_path "${TMPDIR:-}")" UV_INSTALL_DIR="$(windows_ish_path "${UV_INSTALL_DIR:-}")" sh
|
download_url https://astral.sh/uv/install.sh - | TMPDIR="$(posix_ish_path "${TMPDIR:-}")" UV_INSTALL_DIR="$(windows_ish_path "${UV_INSTALL_DIR:-}")" sh
|
||||||
|
|
||||||
|
# Workaround for UV installer not pushing UV_TOOL_BIN_DIR into the env when used with their installer
|
||||||
|
if [ "$(uname -o 2>/dev/null || true)" = "Msys" ]; then
|
||||||
|
if [ "${UV_NO_MODIFY_PATH:-}" != "1" ]; then
|
||||||
|
echo -e "#!/bin/sh\n# Workaround for UV installer not pushing UV_TOOL_BIN_DIR into the env when used with their installer\nexport PATH=\"${UV_TOOL_BIN_DIR}:\$PATH\"" > /etc/profile.d/qmk-uv-env.sh
|
||||||
|
fi
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_paths() {
|
setup_paths() {
|
||||||
|
|||||||
Reference in New Issue
Block a user