From 2a9345521380b0a2bec19aa6a7b115b5457c66bc Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 26 Aug 2024 16:35:31 -0700 Subject: [PATCH] Handle pwsh AMD64 for x86-64 case. --- examples/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/run.sh b/examples/run.sh index bf5fd91..230a6f7 100755 --- a/examples/run.sh +++ b/examples/run.sh @@ -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