View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002125 | OpenFOAM | Bug | public | 2016-06-20 09:48 | 2016-06-20 10:08 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | linux | OS | any | OS Version | any |
Product Version | dev | ||||
Fixed in Version | dev | ||||
Summary | 0002125: wclean all does not use Allwclean in subdirectories | ||||
Description | In lines 224-229 in wclean script, it is clear that using "wclean all" only uses the top-level Allwclean and will not actually recurse for Allwclean. Instead it goes for things with 'Make' directories and then issues a plain wclean for these. This means that any 'Allwclean' present there will not be used, ever. As a minimal workaround: # For all the sub-directories containing a 'Make' directory for dir in `find . \( -type d -a -name Make \)` do dir=${dir%/Make} # Parent directory - trim /Make from the end echo $dir if [ -e "$dir/Allwclean" ] then $dir/Allwclean else $0 $dir fi done | ||||
Tags | No tags attached. | ||||