Merge pull request #625 from ennorehling/develop

fix the install script, issue #623
This commit is contained in:
Enno Rehling 2017-01-11 11:04:37 +01:00 committed by GitHub
commit 6499901dac
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