Skip to content

Commit

Permalink
Address shellcheck warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidHuber-NOAA committed Dec 22, 2023
1 parent 0490649 commit 9bc49b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jobs/rocoto/atmos_products.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ for fhr in "${fhrs[@]}"; do
# The analysis fhr is -001. Performing math on negative, leading 0 integers is tricky.
# The negative needs to be in front of "10#", so do some regex magic to make it happen.
fhr="10#${fhr}"
fhr=$( echo ${fhr} | sed "s/10#-/-10#/" )
export FORECAST_HOUR=$(( ${fhr} ))
fhr=$( echo "${fhr}" | sed "s/10#-/-10#/" )
export FORECAST_HOUR=$(( fhr ))
"${HOMEgfs}/jobs/JGLOBAL_ATMOS_PRODUCTS"
status=$?
if (( status != 0 )); then exit "${status}"; fi
Expand Down

0 comments on commit 9bc49b5

Please sign in to comment.