Use uname -m instead of arch for more portability

This commit is contained in:
rinpatch 2019-06-22 05:20:36 +03:00
commit 1d2332ce79
2 changed files with 2 additions and 2 deletions

View file

@ -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