diff --git a/lgsm/functions/update_vintagestory.sh b/lgsm/functions/update_vintagestory.sh index 758a9582b..98568f3ca 100755 --- a/lgsm/functions/update_vintagestory.sh +++ b/lgsm/functions/update_vintagestory.sh @@ -25,7 +25,7 @@ fn_update_vs_localbuild(){ # Uses executable to find local build. cd "${executabledir}" || exit if [ -f "${executable}" ]; then - localbuild=$(${preexecutable} ${executable} --version | sed '/^[[:space:]]*$/d') + localbuild="$(${preexecutable} ${executable} --version | sed '/^[[:space:]]*$/d')" fn_print_ok "Checking local build: ${remotelocation}" fn_script_log_pass "Checking local build" else