File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,15 @@ openfoam_remove_empty_dirs() {
66 echo " Looking for any time directories without results (e.g. stray functionObjectProperties files, see openfoam-adapter issue #26 on GitHub)..."
77
88 for f in [0-9]* [0-9]* .[0-9]* ; do
9- if ! [ -f " ${f} /U" ] && ! [ -f " ${f} /T" ]; then
9+ if ! [ -f " ${f} /U" ] && ! [ -f " ${f} /T" ] && ! [ -f " ${f} /U.gz " ] && ! [ -f " ${f} /T.gz " ] ; then
1010 rm -rfv " ${f} "
1111 fi
1212 done
1313 if [ -d processor0 ]; then
1414 for d in processor* ; do
1515 cd " ${d} "
1616 for f in [0-9]* [0-9]* .[0-9]* ; do
17- if ! [ -f " ${f} " /U ] && ! [ -f " ${f} " /T ]; then
17+ if ! [ -f " ${f} /U " ] && ! [ -f " ${f} /T " ] && ! [ -f " ${f} /U.gz " ] && ! [ -f " ${f} /T.gz " ]; then
1818 rm -rfv " ${f} "
1919 fi
2020 done
You can’t perform that action at this time.
0 commit comments