Skip to content

Commit

Permalink
FDS Validation: Remove files from Current_Results
Browse files Browse the repository at this point in the history
  • Loading branch information
mcgratta committed Dec 20, 2024
1 parent e1765e6 commit f905a90
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 f905a90

Please sign in to comment.