Skip to content

Commit f718d6d

Browse files
committed
fix install-deps
1 parent 6b4fc2f commit f718d6d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ function _pip_install() {
2626
# Ensure just is installed.
2727
if ! command -v just 2>/dev/null; then
2828
# On most systems we can install directly.
29+
_TARGET=""
30+
if [ "Windows_NT" = "${OS:-}" ]; then
31+
TARGET="--target x86_64-pc-windows-msvc"
32+
fi
2933
echo "Installing just..."
3034
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || {
3135
_pip_install rust-just just

0 commit comments

Comments
 (0)