Skip to content

Commit

Permalink
Update install.sh: change the way IN_TESTING is checked for
Browse files Browse the repository at this point in the history
  • Loading branch information
EricClaeys authored Jul 18, 2023
1 parent be9f56f commit f21ad65
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2581,16 +2581,18 @@ HELP="false"
DEBUG=0
DEBUG_ARG=""
LOG_TYPE="--logonly" # by default we only log some messages but don't display
IN_TESTING="false"

[[ $( get_branch ) != "${GITHUB_MAIN_BRANCH}" ]] && IN_TESTING="true"

IN_TESTING="false" # XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
if [[ ${IN_TESTING} == "true" ]]; then
DEBUG=1; DEBUG_ARG="--debug"; LOG_TYPE="--log"

T="${ALLSKY_HOME}/told"
if [[ ! -f ${T} ]]; then
MSG="\n"
MSG="${MSG}Testers, until we go-live with this release, debugging is automatically on."
MSG="${MSG}\n\nPlease make sure you have Debug Level set to 4 in the WebUI during testing."
MSG="${MSG}\n\nPlease set Debug Level to 3 during testing."
MSG="${MSG}\n"

MSG="${MSG}\nChanges from prior dev releases:"
Expand Down

0 comments on commit f21ad65

Please sign in to comment.