mirror of
https://github.com/unpoller/unpoller.git
synced 2026-08-04 11:35:11 -04:00
Merge pull request #181 from hydro-b/improve_arch_detection
Improve arch detection, add "aarch64" as arm64 platform
This commit is contained in:
@@ -20,7 +20,7 @@ if [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "amd64" ]; then
|
||||
ARCH="x86_64|amd64"
|
||||
elif [[ $ARCH == *386* ]] || [[ $ARCH == *686* ]]; then
|
||||
ARCH="i386"
|
||||
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]]; then
|
||||
elif [[ $ARCH == *arm64* ]] || [[ $ARCH == *armv8* ]] || [[ $ARCH == *aarch64* ]]; then
|
||||
ARCH="arm64"
|
||||
elif [[ $ARCH == *armv6* ]] || [[ $ARCH == *armv7* ]]; then
|
||||
ARCH="armhf"
|
||||
|
||||
Reference in New Issue
Block a user