From 8d30660f20d2fccedacba7ef576cd558dc1ae454 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 24 Jan 2020 14:54:13 +0100 Subject: [PATCH] Updated buil script --- build_teaspeak.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build_teaspeak.sh b/build_teaspeak.sh index 9aa0457..6f4c989 100755 --- a/build_teaspeak.sh +++ b/build_teaspeak.sh @@ -1,9 +1,11 @@ -cd TeaSpeak +_build_helper_dir="`pwd`/build-helpers" + + +cd TeaSpeak || exit 1 if [ -d build ]; then rm -r build fi -_build_helper_dir="`pwd`/build-helpers" -mkdir build && cd build +mkdir build && cd build || exit 1 echo "Build type: ${TEASPEAK_BUILD_TYPE}" cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS}" -DBUILD_INCLUDE_FILE="$_build_helper_dir"/cmake/config/tearoot-server.cmake -DCMAKE_MODULE_PATH="$_build_helper_dir"/cmake/ -DDISABLE_QT=1 -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER