Skip to content

Commit

Permalink
Back out change to build_all for gtg
Browse files Browse the repository at this point in the history
Additionally code from an earlier attempt to handle gtg was inadvertently
left in the previous commit.

Refs: NOAA-EMC#770
  • Loading branch information
WalterKolczynski-NOAA committed May 20, 2022
1 parent 885a882 commit 7eba098
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions sorc/build_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,14 @@ function _usage() {

_build_ufs_opt=""
_verbose_opt=""
_build_ops_opt=""
# Reset option counter in case this script is sourced
OPTIND=1
while getopts ":a:c:hov" option; do
while getopts ":a:c:hv" option; do
case "${option}" in
a) _build_ufs_opt+="-a ${OPTARG} ";;
c) _partial_opt+="-c ${OPTARG} ";;
h) _usage;;
# s) _build_ufs_opt+="-s ${OPTARG} ";;
o) _build_ops_opt="-o";;
v) _verbose_opt="-v";;
\?)
echo "[$BASH_SOURCE]: Unrecognized option: ${option}"
Expand Down Expand Up @@ -139,7 +137,7 @@ $Build_gsi && {
#------------------------------------
$Build_upp && {
echo " .... Building UPP .... "
./build_upp.sh $_verbose_opt $_build_ops_opt > $logs_dir/build_upp.log 2>&1
./build_upp.sh $_verbose_opt > $logs_dir/build_upp.log 2>&1
rc=$?
if [[ $rc -ne 0 ]] ; then
echo "Fatal error in building UPP."
Expand Down

0 comments on commit 7eba098

Please sign in to comment.