Skip to content

Commit

Permalink
Update scripts/exglobal_cleanup.sh
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Mahajan <[email protected]>
  • Loading branch information
DavidHuber-NOAA and aerorahul authored Sep 6, 2024
1 parent b502db3 commit 36e664d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/exglobal_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ fi
deletion_target="${ROTDIR}/${RUN}.${RDATE:0:8}"
if [[ -d ${deletion_target} ]]; then rm -rf "${deletion_target}"; fi

# sync and wait to avoid filesystem synchronization issues
sync && sleep 1

# Finally, delete DATAROOT.
# This will also delete the working directory, so save it until the end.
# In XML, DATAROOT is defined as:
Expand Down

0 comments on commit 36e664d

Please sign in to comment.