mirror of
https://github.com/jhbruhn/jellyfin-radio.git
synced 2025-03-14 19:45:50 +00:00
19 lines
No EOL
403 B
Bash
Executable file
19 lines
No EOL
403 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Used in Docker build to set platform dependent variables
|
|
|
|
case $TARGETARCH in
|
|
|
|
"amd64")
|
|
echo "x86_64-unknown-linux-gnu" > /.platform
|
|
echo "" > /.compiler
|
|
;;
|
|
"arm64")
|
|
echo "aarch64-unknown-linux-gnu" > /.platform
|
|
echo "gcc-aarch64-linux-gnu" > /.compiler
|
|
;;
|
|
"arm")
|
|
echo "armv7-unknown-linux-gnueabihf" > /.platform
|
|
echo "gcc-arm-linux-gnueabihf" > /.compiler
|
|
;;
|
|
esac |