From bed15603ffdaa5e3608adf1defdf058cfbc71ddb Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 9 Jan 2021 23:04:35 +0000 Subject: [PATCH] sed --- lgsm/functions/update_vintagestory.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/update_vintagestory.sh b/lgsm/functions/update_vintagestory.sh index aea19a9be..0a7e0e6f0 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 2>&1 >/dev/null) + localbuild=$(${preexecutable} ${executable} --version | sed '/^[[:space:]]*$/d') fn_print_ok "Checking local build: ${remotelocation}" fn_script_log_pass "Checking local build" else