Browse Source

localbuild fix

pull/4146/head
Daniel Gibbs 3 years ago
parent
commit
408bb0ddd2
  1. 5
      lgsm/functions/update_ut99.sh

5
lgsm/functions/update_ut99.sh

@ -19,8 +19,8 @@ fn_update_ut99_dl() {
fn_update_ut99_localbuild() { fn_update_ut99_localbuild() {
# Gets local build info. # Gets local build info.
fn_print_dots "Checking local build: ${remotelocation}" fn_print_dots "Checking local build: ${remotelocation}"
# Uses version file to get local build. # Uses build file to get local build.
localbuild=$(head -n 1 "${localbuildfile}" > /dev/null 2>&1) localbuild=$(head -n 1 "${serverfiles}/build.txt")
if [ -z "${localbuild}" ]; then if [ -z "${localbuild}" ]; then
fn_print_error "Checking local build: ${remotelocation}: missing local build info" fn_print_error "Checking local build: ${remotelocation}: missing local build info"
fn_script_log_error "Missing local build info" fn_script_log_error "Missing local build info"
@ -81,6 +81,7 @@ fn_update_ut99_compare() {
command_start.sh command_start.sh
fn_firstcommand_reset fn_firstcommand_reset
exitbypass=1 exitbypass=1
sleep 5
command_stop.sh command_stop.sh
fn_firstcommand_reset fn_firstcommand_reset
fi fi

Loading…
Cancel
Save