mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-25 12:22:49 +02:00
Typo in bash case
This commit is contained in:
parent
c72e1f0943
commit
a5f5113e9a
@ -6,15 +6,15 @@
|
|||||||
|
|
||||||
OS_NAME=$(uname -s)
|
OS_NAME=$(uname -s)
|
||||||
case "${OS_NAME}" in
|
case "${OS_NAME}" in
|
||||||
Linux*) OS_NAME="linux"
|
Linux*) OS_NAME="linux";;
|
||||||
Darwin*) OS_NAME="mac"
|
Darwin*) OS_NAME="mac";;
|
||||||
*) echo "Unknown OS: $OS_NAME! This only runs on Linux or Mac" && exit
|
*) echo "Unknown OS: $OS_NAME! This only runs on Linux or Mac" && exit
|
||||||
esac
|
esac
|
||||||
|
|
||||||
OS_ARCH=$(uname -m)
|
OS_ARCH=$(uname -m)
|
||||||
case "${OS_ARCH}" in
|
case "${OS_ARCH}" in
|
||||||
x86_64*) OS_ARCH="x64"
|
x86_64*) OS_ARCH="x64";;
|
||||||
arm64*) OS_ARCH="arm64"
|
arm64*) OS_ARCH="arm64";;
|
||||||
*) echo "Unknown system architecture: $OS_ARCH! This only runs on x86_64 or arm64" && exit
|
*) echo "Unknown system architecture: $OS_ARCH! This only runs on x86_64 or arm64" && exit
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user