Fix mips64 Little Endian checking (#26)

* Fix mips64 Little Endian checking

* Fix tab to space
This commit is contained in:
Xi Zhang 2022-06-13 01:56:07 +08:00 committed by GitHub
parent 1ccae79eed
commit d516ba5d57
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,6 +151,7 @@ identify_the_operating_system_and_architecture() {
;; ;;
'mips64') 'mips64')
MACHINE='mips64' MACHINE='mips64'
lscpu | grep -q "Little Endian" && MACHINE='mips64le'
;; ;;
'mips64le') 'mips64le')
MACHINE='mips64le' MACHINE='mips64le'