You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-07-07 22:41:18 +03:00
16 lines
308 B
Bash
Executable File
16 lines
308 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ "$#" -ne 1 ]; then
|
|
echo "usage: $0 [platform]" >&2
|
|
exit 1
|
|
fi
|
|
|
|
if [ "$1" = "linux/arm64" ] || [ "$1" = "linux/arm64/v8" ]; then
|
|
echo "aarch64-unknown-linux-musl"
|
|
elif [ "$1" = "linux/amd64" ]; then
|
|
echo "x86_64-unknown-linux-musl"
|
|
else
|
|
echo "unsupported platform $1" >&2
|
|
exit 2
|
|
fi
|