fix the install script, issue #623

This commit is contained in:
Enno Rehling 2017-01-11 10:57:42 +01:00 committed by Enno Rehling
parent d1b5daf833
commit c38cd41194
1 changed files with 1 additions and 2 deletions

View File

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