From 78be2c2c2cace654a0da9238fc0c238aad268525 Mon Sep 17 00:00:00 2001 From: Andrew Rosca Date: Mon, 26 Aug 2024 12:38:40 -0400 Subject: [PATCH] Add substitution for aarch64 to installation bash script (#363) Signed-off-by: Andrew Rosca --- hack/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/install.sh b/hack/install.sh index 50c8bf42..17086b38 100755 --- a/hack/install.sh +++ b/hack/install.sh @@ -6,7 +6,7 @@ set -e -o pipefail version=$(curl -s https://api.github.com/repos/cnoe-io/idpbuilder/releases | grep tag_name | grep -o -e '"v[0-9].[0-9].[0-9]"' | head -n1 | sed 's/"//g') echo "Downloading idpbuilder version ${version}" -curl -L --progress-bar -o ./idpbuilder.tar.gz "https://github.com/cnoe-io/idpbuilder/releases/download/${version}/idpbuilder-$(uname | awk '{print tolower($0)}')-$(uname -m | sed 's/x86_64/amd64/').tar.gz" +curl -L --progress-bar -o ./idpbuilder.tar.gz "https://github.com/cnoe-io/idpbuilder/releases/download/${version}/idpbuilder-$(uname | awk '{print tolower($0)}')-$(uname -m | sed -e 's/x86_64/amd64/' -e 's/aarch64/arm64/').tar.gz" tar xzf idpbuilder.tar.gz echo "Moving idpbuilder binary to /usr/local/bin"