View Issue Details

IDProjectCategoryView StatusLast Update
0002125OpenFOAMBugpublic2016-06-20 10:08
Reporteruser696Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformlinuxOSanyOS Versionany
Product Versiondev 
Fixed in Versiondev 
Summary0002125: wclean all does not use Allwclean in subdirectories
DescriptionIn 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
TagsNo tags attached.

Activities

henry

2016-06-20 10:08

manager   ~0006448

Resolved by commit 9321273c26f5c7ad9e972f316f72ce7296930909

Issue History

Date Modified Username Field Change
2016-06-20 09:48 user696 New Issue
2016-06-20 10:08 henry Note Added: 0006448
2016-06-20 10:08 henry Status new => resolved
2016-06-20 10:08 henry Fixed in Version => dev
2016-06-20 10:08 henry Resolution open => fixed
2016-06-20 10:08 henry Assigned To => henry