Skip to content

Commit

Permalink
fix: on download_sigil.sh, use the arch format used by the project's …
Browse files Browse the repository at this point in the history
…tar files
  • Loading branch information
Aron Asor committed Nov 22, 2023
1 parent c921de1 commit a79a766
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion k8s/images/nginx/download_sigil.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ set -eou pipefail

export SIGIL_VERSION=0.10.1
export OS=`sh -c "uname -s | tr '[:upper:]' '[:lower:]'"`
export ARCH=`sh -c "uname -m | tr '[:upper:]' '[:lower:]' | sed 's/aarch64/arm64/'"`
export ARCH=`sh -c "uname -m | tr '[:upper:]' '[:lower:]' | sed 's/aarch64/arm64/' | sed 's/x86_64/amd64/'"`


curl -L "https://github.com/gliderlabs/sigil/releases/download/v${SIGIL_VERSION}/gliderlabs-sigil_${SIGIL_VERSION}_${OS}_${ARCH}.tgz" | tar -zxC /tmp
Expand Down

0 comments on commit a79a766

Please sign in to comment.