Skip to content

Commit

Permalink
Fix: Position of whitespace was wrong and bash complained about synta…
Browse files Browse the repository at this point in the history
…x error.
  • Loading branch information
bokysan committed Mar 1, 2025
1 parent fb8761f commit d0590c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build-scripts/sasl-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ build_sasl2() {
# (because they don't exist in the PIP repositories) and "pip install" will fail without rust. Specifically, when
# compiling cryptographic libraries.
setup_rust() {
if [[ "${arch}"!= "386" ]] && [[ "${arch}"!= "i386" ]] && [[ "${arch}"!= "mips64el" ]]; then
if [[ "${arch}" != "386" ]] && [[ "${arch}" != "i386" ]] && [[ "${arch}" != "mips64el" ]]; then
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal
export PATH="$HOME/.cargo/bin:$PATH"
. "$HOME/.cargo/env"
Expand All @@ -60,7 +60,7 @@ setup_rust() {
setup_python_venv() {
python3 -m venv /sasl
. /sasl/bin/activate
if [[ "${arch}"!= "386" ]] && [[ "${arch}"!= "i386" ]] && [[ "${arch}"!= "mips64el" ]]; then
if [[ "${arch}" != "386" ]] && [[ "${arch}" != "i386" ]] && [[ "${arch}" != "mips64el" ]]; then
pip3 install msal
fi
}
Expand Down Expand Up @@ -100,7 +100,7 @@ else
# Run compilation and installation
setup_rust
base_install
if [[ "${arch}"!= "386" ]] && [[ "${arch}"!= "i386" ]] && [[ "${arch}"!= "mips64el" ]]; then
if [[ "${arch}" != "386" ]] && [[ "${arch}" != "i386" ]] && [[ "${arch}" != "mips64el" ]]; then
rustup self uninstall -y
fi

Expand Down

0 comments on commit d0590c7

Please sign in to comment.