Skip to content

Commit

Permalink
Group function exports at bottom of bash utils
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterKolczynski-NOAA committed Apr 1, 2024
1 parent b559e1f commit 91caa7a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ush/bash_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,11 @@ function generate_com() {
value=$(echo "${!template}" | envsubst)
# shellcheck disable=SC2086
declare ${opts} "${com_var}"="${value}"
# shellcheck disable=
echo "generate_com :: ${com_var}=${value}"
done
set_trace
}
# shellcheck disable=
declare -xf generate_com

function wait_for_file() {
#
Expand Down Expand Up @@ -107,7 +106,6 @@ function wait_for_file() {
set_trace
return 1
}
declare -xf wait_for_file

function detect_py_ver() {
#
Expand All @@ -123,4 +121,7 @@ function detect_py_ver() {
fi
}
# shellcheck disable=

declare -xf generate_com
declare -xf wait_for_file
declare -xf detect_py

0 comments on commit 91caa7a

Please sign in to comment.