Skip to content

Commit

Permalink
fix: wrong variable assignments
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnHering committed Oct 24, 2024
1 parent f2c3409 commit de41289
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/spack
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ spack_install ()

# Respect Docker TARGETPLATFORM
docker_target="${BUILDARCH:-amd64}"
docker_target_arch = echo "${docker_target}" | cut -d '/' -f2
docker_target_arch=echo "${docker_target}" | cut -d '/' -f2
target = "x86"

case "${docker_target_arch}" in
"amd64")
target = "x86"
target="x86"
;;
"arm64")
target = "aarch64"
target="aarch64"
;;
*)
printf 'Unknown target platform: %s\n' "${docker_target_arch}" >&2
Expand Down

0 comments on commit de41289

Please sign in to comment.