From 3898d4f33e3e0f287825c4c2d598e0df6dca891b Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 14 Oct 2017 14:14:50 +0100 Subject: [PATCH 1/3] updated dirname for dirs with space --- lgsm/functions/command_dev_detect_glibc.sh | 2 +- lgsm/functions/command_dev_detect_ldd.sh | 2 +- tests/tests_jc2server.sh | 4 ++-- tests/tests_ts3server.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lgsm/functions/command_dev_detect_glibc.sh b/lgsm/functions/command_dev_detect_glibc.sh index bfb7a80cf..4fb472a94 100644 --- a/lgsm/functions/command_dev_detect_glibc.sh +++ b/lgsm/functions/command_dev_detect_glibc.sh @@ -16,7 +16,7 @@ if [ -z "$(command -v objdump)" ]; then fi if [ -z "${serverfiles}" ]; then - dir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" + dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" fi if [ -d "${serverfiles}" ]; then diff --git a/lgsm/functions/command_dev_detect_ldd.sh b/lgsm/functions/command_dev_detect_ldd.sh index 668ca0377..d80ad0895 100644 --- a/lgsm/functions/command_dev_detect_ldd.sh +++ b/lgsm/functions/command_dev_detect_ldd.sh @@ -10,7 +10,7 @@ echo "Shared Object dependencies Checker" echo "=================================" if [ -z "${serverfiles}" ]; then - dir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" + dir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" fi if [ -d "${serverfiles}" ]; then diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 36d366069..c0d6d0b19 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -16,10 +16,10 @@ if [ -f ".dev-debug" ]; then set -x fi -version="170619" +version="171014" shortname="jc2" gameservername="jc2server" -rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" +rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" servicename="${selfname}" lockselfname=".${servicename}.lock" diff --git a/tests/tests_ts3server.sh b/tests/tests_ts3server.sh index dd5b8351b..7f327dc13 100644 --- a/tests/tests_ts3server.sh +++ b/tests/tests_ts3server.sh @@ -16,10 +16,10 @@ if [ -f ".dev-debug" ]; then set -x fi -version="170619" +version="171014" shortname="ts3" gameservername="ts3server" -rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" +rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" servicename="${selfname}" lockselfname=".${servicename}.lock" From 3fbc117597f526c0041e7dd94ec03085be8f9f44 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 14 Oct 2017 14:15:13 +0100 Subject: [PATCH 2/3] Release 171014 --- linuxgsm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linuxgsm.sh b/linuxgsm.sh index 7b5529854..9dbc97b6a 100755 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -20,7 +20,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="170926" +version="171014" shortname="core" gameservername="core" rootdir="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")" From 569794599a9a52cc465c236a4ef30ea92183395d Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 14 Oct 2017 14:19:46 +0100 Subject: [PATCH 3/3] added missing query/rcon enabled not set --- lgsm/functions/info_config.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index ebe0d8d41..5127ffa4f 100644 --- a/lgsm/functions/info_config.sh +++ b/lgsm/functions/info_config.sh @@ -474,6 +474,8 @@ fn_info_config_starbound(){ # Not Set servername=${servername:-"NOT SET"} + queryenabled=${queryenabled:-"NOT SET"} + rconenabled==${rconenabled:-"NOT SET"} rconpassword=${rconpassword:-"NOT SET"} port=${port:-"21025"} queryport=${queryport:-"21025"}