Skip to content

Commit 5223cca

Browse files
committed
try with no _BIN_DIR
1 parent 9dbfb25 commit 5223cca

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ fi
1212

1313
_BIN_DIR=${PYMONGO_BIN_DIR:-}
1414

15-
# Handle remote containers/VMS.
16-
if [ -z "$_BIN_DIR" ] && [ "$(uname -s)" = "Linux" ]; then
17-
_BIN_DIR=/usr/local/bin
18-
fi
19-
2015
# Helper function to pip install a dependency using a temporary python env.
2116
function _pip_install() {
2217
_HERE=$(dirname ${BASH_SOURCE:-$0})
@@ -33,10 +28,6 @@ function _pip_install() {
3328

3429
# Ensure just is installed.
3530
if ! command -v just 2>/dev/null; then
36-
if [ -z "$_BIN_DIR" ]; then
37-
echo "Please install just!"
38-
exit 1
39-
fi
4031
# On most systems we can install directly.
4132
_TARGET=""
4233
if [ "Windows_NT" = "${OS:-}" ]; then
@@ -52,10 +43,6 @@ fi
5243

5344
# Install uv.
5445
if ! command -v uv 2>/dev/null; then
55-
if [ -z "$_BIN_DIR" ]; then
56-
echo "Please install uv!"
57-
exit 1
58-
fi
5946
echo "Installing uv..."
6047
# On most systems we can install directly.
6148
curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR="$_BIN_DIR" INSTALLER_NO_MODIFY_PATH=1 sh || {

0 commit comments

Comments
 (0)