Skip to content

Commit bc10376

Browse files
committed
cleanup
1 parent e58c6c0 commit bc10376

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ if ! command -v just &>/dev/null; then
4141
if [ "Windows_NT" = "${OS:-}" ]; then
4242
_TARGET="--target x86_64-pc-windows-msvc"
4343
fi
44+
if [ -z "${PYMONGO_BIN_DIR:-}" ]; then
45+
echo "Please install just!"
46+
exit 1
47+
fi
4448
echo "Installing just..."
4549
mkdir -p "$_BIN_DIR" 2>/dev/null || true
4650
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || {
@@ -51,6 +55,10 @@ fi
5155

5256
# Ensure uv is installed.
5357
if ! command -v uv &>/dev/null; then
58+
if [ -z "${PYMONGO_BIN_DIR:-}" ]; then
59+
echo "Please install uv!"
60+
exit 1
61+
fi
5462
echo "Installing uv..."
5563
# On most systems we can install directly.
5664
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)