Skip to content

Commit

Permalink
sync get_architecture() function
Browse files Browse the repository at this point in the history
to match the change in rust-lang/rustup#48
  • Loading branch information
Jorge Aparicio committed Mar 18, 2016
1 parent 4662bb8 commit 69d8d47
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 4 deletions.
7 changes: 6 additions & 1 deletion blastoff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,16 @@ get_architecture() {
local _cputype=arm
;;

armv7l)
armv6l)
local _cputype=arm
local _ostype="${_ostype}eabihf"
;;

armv7l)
local _cputype=armv7
local _ostype="${_ostype}eabihf"
;;

x86_64 | x86-64 | x64 | amd64)
local _cputype=x86_64
;;
Expand Down
7 changes: 6 additions & 1 deletion quick-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,16 @@ get_architecture() {
local _cputype=arm
;;

armv7l)
armv6l)
local _cputype=arm
local _ostype="${_ostype}eabihf"
;;

armv7l)
local _cputype=armv7
local _ostype="${_ostype}eabihf"
;;

x86_64 | x86-64 | x64 | amd64)
local _cputype=x86_64
;;
Expand Down
7 changes: 6 additions & 1 deletion test-v1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,16 @@ get_architecture() {
local _cputype=arm
;;

armv7l)
armv6l)
local _cputype=arm
local _ostype="${_ostype}eabihf"
;;

armv7l)
local _cputype=armv7
local _ostype="${_ostype}eabihf"
;;

x86_64 | x86-64 | x64 | amd64)
local _cputype=x86_64
;;
Expand Down
7 changes: 6 additions & 1 deletion test-v2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -289,11 +289,16 @@ get_architecture() {
local _cputype=arm
;;

armv7l)
armv6l)
local _cputype=arm
local _ostype="${_ostype}eabihf"
;;

armv7l)
local _cputype=armv7
local _ostype="${_ostype}eabihf"
;;

x86_64 | x86-64 | x64 | amd64)
local _cputype=x86_64
;;
Expand Down

0 comments on commit 69d8d47

Please sign in to comment.