ci(install): Change "arch" to distro-agnostic "uname -m" (#9537)

This commit is contained in:
Lucas Saavedra Vaz 2024-04-19 15:34:47 -03:00 committed by GitHub
parent ae0dc17339
commit 86b3163c62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
#!/bin/bash
OSBITS=`arch`
OSBITS=`uname -m`
if [[ "$OSTYPE" == "linux"* ]]; then
export OS_IS_LINUX="1"
if [[ "$OSBITS" == "i686" ]]; then

View file

@ -4,7 +4,7 @@
#OSTYPE: 'msys', ARCH: 'x86_64' => win32
#OSTYPE: 'darwin18', ARCH: 'i386' => macos
OSBITS=`arch`
OSBITS=`uname -m`
if [[ "$OSTYPE" == "linux"* ]]; then
export OS_IS_LINUX="1"
ARCHIVE_FORMAT="tar.xz"