comparison scripts/Docker/roundup_start @ 7835:c6fcc8ba478a

fix: log arguments passed to docker start script to stdout. When trying to get this working under kubernetes the logs weren't reporting the arguments passed to the script.
author John Rouillard <rouilj@ieee.org>
date Mon, 25 Mar 2024 22:33:24 -0400
parents 36c3acb4b49b
children
comparison
equal deleted inserted replaced
7834:dbeb6bf056c7 7835:c6fcc8ba478a
27 if test -t 0 -a -t 1; then # see if stdin/out are associated with a tty 27 if test -t 0 -a -t 1; then # see if stdin/out are associated with a tty
28 might_be_interactive="true" 28 might_be_interactive="true"
29 else 29 else
30 might_be_interactive="false" 30 might_be_interactive="false"
31 fi 31 fi
32
33 printf "Starting Roundup with arguments: $@"
32 34
33 for tracker_spec in "$@"; do 35 for tracker_spec in "$@"; do
34 # IFS== set a=b doesn't just assign $1 and $2 in busybox ash 36 # IFS== set a=b doesn't just assign $1 and $2 in busybox ash
35 # it also clobbers '$@'. 'printf mumble | read' starts read in a 37 # it also clobbers '$@'. 'printf mumble | read' starts read in a
36 # subshell so vars are not available in parent. 38 # subshell so vars are not available in parent.

Roundup Issue Tracker: http://roundup-tracker.org/