Server can not configure

mkdir -p $BIN_DIR is allready done in configure file
the effect is that file configure create the build directory
and in this directory file cmake-init create another, go inside
and don't find CMakeLists.txt
This commit is contained in:
TomBraun 2014-06-30 08:23:33 +02:00
parent e39336e87a
commit 2bb41b169a
1 changed files with 1 additions and 4 deletions

View File

@ -9,13 +9,10 @@ while [ ! -d $ROOT/.git ]; do
done
[ -z $BUILD ] && BUILD=Debug
MACHINE=`uname -m`
[ -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-$BUILD"
mkdir -p $BIN_DIR
cd $BIN_DIR
if [ ! -e ../CMakeLists.txt ]; then
echo "are you sure you are in the build directory?"