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() {
39
39
40
40
# Try to use the binaries in the toolchain if available.
41
41
if [ -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
55
54
fi
56
55
57
-
58
56
# Ensure just is installed.
59
57
if ! command -v just > /dev/null 2>&1 ; then
60
58
# On most systems we can install directly.
@@ -71,7 +69,7 @@ if ! command -v just >/dev/null 2>&1; then
71
69
fi
72
70
73
71
# 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
75
73
echo " Installing uv..."
76
74
# On most systems we can install directly.
77
75
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