Browse Source

sed

pull/3156/head
Daniel Gibbs 5 years ago
parent
commit
bed15603ff
  1. 2
      lgsm/functions/update_vintagestory.sh

2
lgsm/functions/update_vintagestory.sh

@ -25,7 +25,7 @@ fn_update_vs_localbuild(){
# Uses executable to find local build. # Uses executable to find local build.
cd "${executabledir}" || exit cd "${executabledir}" || exit
if [ -f "${executable}" ]; then 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_print_ok "Checking local build: ${remotelocation}"
fn_script_log_pass "Checking local build" fn_script_log_pass "Checking local build"
else else

Loading…
Cancel
Save