File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change @@ -39,22 +39,20 @@ function _pip_install() {
3939
4040# Try to use the binaries in the toolchain if available.
4141if [ -n " ${CI} " ]; then
42- export PATH
43- case " ${OSTYPE:? } " in
44- cygwin)
45- PATH=" /cygdrive/c/Python/Current:${PATH:- } "
46- ;;
47- darwin* )
48- PATH=" /Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:- } "
49- ;;
50- * )
51- PATH=" /opt/python/Current/bin:${PATH:- } "
52- ;;
53- esac
54- fi
42+ export PATH
43+ case " ${OSTYPE:? } " in
44+ cygwin)
45+ PATH=" /cygdrive/c/Python/Current:${PATH:- } "
46+ ;;
47+ darwin* )
48+ PATH=" /Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:- } "
49+ ;;
50+ * )
51+ PATH=" /opt/python/Current/bin:${PATH:- } "
52+ ;;
53+ esac
5554fi
5655
57-
5856# Ensure just is installed.
5957if ! command -v just > /dev/null 2>&1 ; then
6058 # On most systems we can install directly.
@@ -71,7 +69,7 @@ if ! command -v just >/dev/null 2>&1; then
7169fi
7270
7371# Fall back to installing uv.
74- if [ ! command -v uv > /dev/null 2>&1 ] ; then
72+ if ! command -v uv > /dev/null 2>&1 ; then
7573 echo " Installing uv..."
7674 # On most systems we can install directly.
7775 curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
You can’t perform that action at this time.
0 commit comments