Skip to content

Commit 2eec4aa

Browse files
committed
add just fix
1 parent 3b4357e commit 2eec4aa

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ if ! command -v just &>/dev/null; then
5252
echo "Installing just..."
5353
mkdir -p "$_BIN_DIR" 2>/dev/null || true
5454
curl --proto '=https' --tlsv1.2 -sSf https://just.systems/install.sh | bash -s -- $_TARGET --to "$_BIN_DIR" || {
55+
# Remove just file if it exists (can be created if there was an install error).
56+
rm -f ${_BIN_DIR}/just
5557
_pip_install rust-just just
5658
}
5759
echo "Installing just... done."

0 commit comments

Comments
 (0)