Skip to content

Commit

Permalink
Merge pull request #13927 from mcgratta/master
Browse files Browse the repository at this point in the history
FDS Validation: Remove files from Current_Results
  • Loading branch information
mcgratta authored Dec 20, 2024
2 parents e1765e6 + f905a90 commit a6480e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Validation/Common_Run_All.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,11 @@ if [ ! $STOPFDS ] ; then
# Check for files in $INDIR (Current_Results) directory
if [[ "$(ls -A $INDIR)" && ! $OVERWRITE ]]; then
echo "Directory $INDIR already exists with files."
echo "Use the -y option to overwrite files."
echo "Use the -y option to REMOVE existing files."
echo "Exiting."
exit
elif [[ "$(ls -A $INDIR)" && $OVERWRITE ]]; then
# Continue along
:
rm $INDIR/*
fi
# Create $INDIR (Current_Results) directory if it doesn't exist
else
Expand Down

0 comments on commit a6480e3

Please sign in to comment.