Modify judgment content

pull/1/head
Dct Mei 2020-04-11 18:41:39 +08:00
parent 5e306971ff
commit 025993ece6
No known key found for this signature in database
GPG Key ID: 50BF8B712DCAD7EA
1 changed files with 3 additions and 3 deletions

View File

@ -15,13 +15,13 @@
# Judge computer systems and architecture
if [[ "$(uname)" == 'Linux' ]]; then
case "$(uname -m)" in
'i686' | 'i386')
'i386' | 'i686')
MACHINE='32'
;;
'x86_64' | 'amd64')
'amd64' | 'x86_64')
MACHINE='64'
;;
'armv7' | 'armv6l')
'armv6l' | 'armv7')
MACHINE='arm'
;;
'armv8' | 'aarch64')