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
7 changes: 6 additions & 1 deletion sorc/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ fi

if [[ "${verbose}" == "YES" ]]; then
set -x
declare -x PS4='+ $(basename ${BASH_SOURCE[0]:-${FUNCNAME[0]:-"Unknown"}})[${LINENO}]'
fi

script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null 2>&1 && pwd)"
Expand All @@ -78,7 +79,11 @@ HOMEgfs=$(cd "${script_dir}" && git rev-parse --show-toplevel)
export HOMEgfs

if [[ -v SINGULARITY_CONTAINER ]]; then
source ${HOMEgfs}/dev/container/env/python-env.sh
# Need to use dummy function to avoid passing arg list
load_python_env() {
source "${HOMEgfs}/dev/container/env/python-env.sh"
}
load_python_env
else
echo "Sourcing global-workflow modules ..."
source "${HOMEgfs}/dev/ush/gw_setup.sh"
Expand Down
Loading