Skip to content

Commit

Permalink
Handle pwsh AMD64 for x86-64 case.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Aug 26, 2024
1 parent 85e6a6b commit 2a93455
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function calculate_arch() {
arch="$(uname -m)"
fi

if [[ "${arch}" =~ x86[_-]64 ]]; then
if [[ "${arch}" =~ amd64|x86[_-]64 ]]; then
echo x86_64
elif [[ "${arch}" =~ arm64|aarch64 ]]; then
echo aarch64
Expand Down

0 comments on commit 2a93455

Please sign in to comment.