Use uname -m instead of arch for more portability
This commit is contained in:
parent
38a803a1f8
commit
1d2332ce79
2 changed files with 2 additions and 2 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# XXX: This should be removed when elixir's releases get custom command support
|
||||
|
||||
detect_flavour() {
|
||||
arch="$(arch)"
|
||||
arch="$(uname -m)"
|
||||
if [ "$arch" = "x86_64" ]; then
|
||||
arch="amd64"
|
||||
elif [ "$arch" = "armv7l" ]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue