mirror of https://gitlab.com/nakst/essence
uname use a flag instead of o
This commit is contained in:
parent
ef2b8aee3b
commit
2e08f0442f
4
start.sh
4
start.sh
|
@ -7,14 +7,14 @@ cd "$(dirname "$0")"
|
|||
mkdir -p bin bin/dependency_files bin/Logs bin/generated_code bin/cache
|
||||
|
||||
# Check that we are running on a sensible platform.
|
||||
uname -o | grep Cygwin > /dev/null
|
||||
uname -a | grep Cygwin > /dev/null
|
||||
if [ $? -ne 1 ]; then
|
||||
echo Cygwin is not supported. Please install a modern GNU/Linux distro.
|
||||
exit
|
||||
fi
|
||||
|
||||
# Setup for Darwin.
|
||||
uname -o | grep Darwin > /dev/null
|
||||
uname -a | grep Darwin > /dev/null
|
||||
if [ $? -ne 1 ]; then
|
||||
export CC=gcc-11
|
||||
export CXX=g++-11
|
||||
|
|
Loading…
Reference in New Issue