Skip to content

Commit

Permalink
change arm64 to amd64 only for darwin
Browse files Browse the repository at this point in the history
Signed-off-by: Rohan Shrothrium <shrothriumrohan@gmail.com>
  • Loading branch information
RohanShrothrium authored and denyeart committed Jan 18, 2022
1 parent 0cd6be7 commit ac46b23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
VERSION=2.4.1
# if ca version not passed in, default to latest released version
CA_VERSION=1.5.2
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | uname -m | sed -E -e 's/x86_64|arm64/amd64/g')")
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m |sed 's/x86_64/amd64/g')" |sed 's/darwin-arm64/darwin-amd64/g')
MARCH=$(uname -m)

printHelp() {
Expand Down
2 changes: 1 addition & 1 deletion scripts/install-fabric.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _arg_comp=('' )
_arg_fabric_version="2.4.1"
_arg_ca_version="1.5.2"

ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m | uname -m | sed -E -e 's/x86_64|arm64/amd64/g')")
ARCH=$(echo "$(uname -s|tr '[:upper:]' '[:lower:]'|sed 's/mingw64_nt.*/windows/')-$(uname -m |sed 's/x86_64/amd64/g')" |sed 's/darwin-arm64/darwin-amd64/g')
MARCH=$(uname -m)

die()
Expand Down

0 comments on commit ac46b23

Please sign in to comment.