Skip to content

Commit

Permalink
Fix: Uninstallation of rustup requires "-y" for non-interactive use
Browse files Browse the repository at this point in the history
  • Loading branch information
bokysan committed Mar 1, 2025
1 parent 9f551fa commit 7b4d54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-scripts/sasl-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ build_sasl2() {
setup_rust() {
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
export PATH="$HOME/.cargo/bin:$PATH"
. "$HOME/.cargo/env"
}

# Create a virtual environment and install the msal library for the
Expand All @@ -66,7 +67,7 @@ base_install() {
setup_rust
build_sasl2
setup_python_venv
rustup self uninstall
rustup self uninstall -y
}


Expand Down

0 comments on commit 7b4d54f

Please sign in to comment.