forked from github/server
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:
parent
e39336e87a
commit
2bb41b169a
|
@ -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?"
|
||||
|
|
Loading…
Reference in New Issue