Merge pull request #181 from hydro-b/improve_arch_detection

Improve arch detection, add "aarch64" as arm64 platform
This commit is contained in:
David Newhall II 2020-01-26 16:27:12 -08:00 committed by GitHub
commit 12e7341afe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
ARCH="x86_64|amd64" ARCH="x86_64|amd64"
elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
ARCH="i386" ARCH="i386"
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]] || [[ $ARCH == *aarch64* ]]; then
ARCH="arm64" ARCH="arm64"
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
ARCH="armhf" ARCH="armhf"