1
0

Fix compile.sh console commit version, see #2493

This commit is contained in:
Safwat Halaby 2015-09-25 19:01:11 +03:00
parent 422bcef8ca
commit 2378e2a22e

View File

@ -164,10 +164,9 @@ git submodule update --init
# Cmake.
echo " --- Running cmake..."
popd
if [ ! -d build-cuberite ]; then mkdir build-cuberite; fi
pushd build-cuberite
cmake ../cuberite/ -DCMAKE_BUILD_TYPE=$BUILDTYPE || error "cmake failed"
cmake .. -DCMAKE_BUILD_TYPE=$BUILDTYPE || error "cmake failed"
# Make.
@ -178,7 +177,7 @@ echo
# Echo: Compilation complete.
popd > /dev/null
pushd cuberite/Server > /dev/null
pushd Server > /dev/null
echo
echo "-----------------"
echo "Compilation done!"
@ -192,6 +191,7 @@ fi
echo
echo "Enjoy :)"
popd > /dev/null
popd > /dev/null
exit 0
:windows_detected