Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ush/preamble.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ function generate_com() {
# # Current cycle and COM for first member
# MEMDIR='mem001' YMD=${PDY} HH=${cyc} generate_com -rx COM_ATMOS_HISTORY
#
if [[ ${DEBUG_WORKFLOW:-"NO"} == "NO" ]]; then set +x; fi
local opts="-g"
local OPTIND=1
while getopts "rx" option; do
Expand All @@ -144,7 +145,9 @@ function generate_com() {
value=$(echo "${!template}" | envsubst)
# shellcheck disable=SC2086
declare ${opts} "${com_var}"="${value}"
echo "generate_com :: ${com_var}=${value}"
done
set_trace
}
# shellcheck disable=
declare -xf generate_com
Expand Down