Skip to content

Commit

Permalink
Clean up build_upp.sh.
Browse files Browse the repository at this point in the history
-Corrected whitespace (tabs instead of spaces)
-Removed debug print statement
-Alphebetized flags
  • Loading branch information
DavidHuber-NOAA committed Feb 20, 2024
1 parent ae7eb19 commit d81f07f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sorc/build_upp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ cd "${script_dir}" || exit 1

OPTIND=1
_opts=""
while getopts ":dvj:" option; do
while getopts ":dj:v" option; do
case "${option}" in
d) _opts+="-d ";;
j) export BUILD_JOBS="${OPTARG}" ;;
v) _opts+="-v ";;
j) export BUILD_JOBS="${OPTARG}"; echo success ;;
:)
echo "[${BASH_SOURCE[0]}]: ${option} requires an argument"
;;
Expand Down

0 comments on commit d81f07f

Please sign in to comment.