fix the install script, issue #623

This commit is contained in:
Enno Rehling 2017-01-11 10:57:42 +01:00
parent fa52e92f3e
commit 281cfbd009
1 changed files with 1 additions and 2 deletions

View File

@ -10,12 +10,11 @@ done
DEST=$(dirname $ROOT)/server DEST=$(dirname $ROOT)/server
MACHINE=`uname -m`
[ -z "$CC" ] && [ ! -z `which clang` ] && CC="clang" [ -z "$CC" ] && [ ! -z `which clang` ] && CC="clang"
[ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc" [ -z "$CC" ] && [ ! -z `which gcc` ] && CC="gcc"
[ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc" [ -z "$CC" ] && [ ! -z `which tcc` ] && CC="tcc"
[ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc" [ -z "$CC" ] && [ ! -z `which cc` ] && CC="cc"
BIN_DIR="build-$MACHINE-$CC-Debug" BIN_DIR="Debug"
cd $ROOT/$BIN_DIR cd $ROOT/$BIN_DIR
make install make install