We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1765e6 commit f905a90Copy full SHA for f905a90
Validation/Common_Run_All.sh
@@ -176,12 +176,11 @@ if [ ! $STOPFDS ] ; then
176
# Check for files in $INDIR (Current_Results) directory
177
if [[ "$(ls -A $INDIR)" && ! $OVERWRITE ]]; then
178
echo "Directory $INDIR already exists with files."
179
- echo "Use the -y option to overwrite files."
+ echo "Use the -y option to REMOVE existing files."
180
echo "Exiting."
181
exit
182
elif [[ "$(ls -A $INDIR)" && $OVERWRITE ]]; then
183
- # Continue along
184
- :
+ rm $INDIR/*
185
fi
186
# Create $INDIR (Current_Results) directory if it doesn't exist
187
else
0 commit comments