Skip to content

Commit 7b4d54f

Browse files
committed
Fix: Uninstallation of rustup requires "-y" for non-interactive use
1 parent 9f551fa commit 7b4d54f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build-scripts/sasl-build.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ build_sasl2() {
4848
setup_rust() {
4949
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
5050
export PATH="$HOME/.cargo/bin:$PATH"
51+
. "$HOME/.cargo/env"
5152
}
5253

5354
# Create a virtual environment and install the msal library for the
@@ -66,7 +67,7 @@ base_install() {
6667
setup_rust
6768
build_sasl2
6869
setup_python_venv
69-
rustup self uninstall
70+
rustup self uninstall -y
7071
}
7172

7273

0 commit comments

Comments
 (0)