From 2bb41b169aeb424b109d20a0260be88517ecf8a8 Mon Sep 17 00:00:00 2001 From: TomBraun Date: Mon, 30 Jun 2014 08:23:33 +0200 Subject: [PATCH] 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 --- s/cmake-init | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/s/cmake-init b/s/cmake-init index 361825423..4994f279e 100755 --- a/s/cmake-init +++ b/s/cmake-init @@ -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?"