Skip to content

Commit

Permalink
bugfix: clear shell check1091
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuN6211 committed Sep 28, 2024
1 parent df9cf68 commit 3a18785
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions scripts/setup-sheldon.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ set -x
# shellcheck source=./scripts/common.bash
source "$(dirname "$0")/common.bash"

if type $CARGO_HOME/bin/cargo >/dev/null; then
if type "$CARGO_HOME/bin/cargo" >/dev/null; then
echo "Installing Rust..."
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | /bin/sh -s -- -y --no-modify-path
else
echo "Rust is already installed, skipping the procedure"
fi

. "$CARGO_HOME/env"
cargo install sheldon
"$CARGO_HOME/bin/cargo" install sheldon

0 comments on commit 3a18785

Please sign in to comment.