From 5b67da5e6f58b402cbcb004c2be8afb61bcc12d1 Mon Sep 17 00:00:00 2001 From: Yuri Astrakhan Date: Mon, 5 Feb 2024 22:06:45 -0500 Subject: [PATCH] fix justfile --- justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/justfile b/justfile index 9ae947d..55d1031 100644 --- a/justfile +++ b/justfile @@ -136,8 +136,8 @@ bless *ARGS: (cargo-install "insta" "cargo-insta") cargo-install $COMMAND $INSTALL_CMD="" *ARGS="": #!/usr/bin/env sh set -eu - if ! command -v $COMMAND &> /dev/null; then - if ! command -v cargo-binstall &> /dev/null; then + if ! command -v $COMMAND > /dev/null; then + if ! command -v cargo-binstall > /dev/null; then echo "$COMMAND could not be found. Installing it with cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }}" cargo install ${INSTALL_CMD:-$COMMAND} {{ ARGS }} else