Skip to content

Commit

Permalink
Fix bash array syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld committed Apr 10, 2024
1 parent 3a2413d commit 121bab2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ RUN set -eux; \
RUN set -eux; \
dpkgArch="$(dpkg --print-architecture)"; \
case "${dpkgArch##*-}" in \
amd64) installArchs=(--target, x86_64-unknown-linux-gnu, --target, x86_64-unknown-linux-musl) ;; \
arm64) installArchs=(--target, aarch64-unknown-linux-gnu, --target, aarch64-unknown-linux-musl) ;; \
amd64) installArchs=(--target x86_64-unknown-linux-gnu --target x86_64-unknown-linux-musl) ;; \
arm64) installArchs=(--target aarch64-unknown-linux-gnu --target aarch64-unknown-linux-musl) ;; \
*) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; \
esac; \
cargo binstall "${installArchs[@]}" --no-confirm \
Expand Down

0 comments on commit 121bab2

Please sign in to comment.