[Bug 281755] make cleanworld cleanuniverse cleankernel leave dot-files behind

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 30 Sep 2024 16:02:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281755

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #1 from Ed Maste <emaste@freebsd.org> ---
Interesting, there's a related earlier change:

commit c10062b9bfd568e453bb4d6a625c3def48f0b6e8
Author: Bryan Drewery <bdrewery@FreeBSD.org>
Date:   Wed Nov 1 21:22:10 2017 +0000

    Add a 'make cleanuniverse'.

    This will remove all build files for the source directory
    when MK_UNIFIED_OBJDIR is enabled.

    Sponsored by:   Dell EMC Isilon

-       rm -rf ${BW_CANONICALOBJDIR}/*
+       rm -rf ${BW_CANONICALOBJDIR}*

I'm not sure why this is `${BW_CANONICALOBJDIR}*` and not just
`${BW_CANONICALOBJDIR}`.

If there's a reason we can't switch back to removing the
`${BW_CANONICALOBJDIR}` we might want to use find to clean up.

-- 
You are receiving this mail because:
You are the assignee for the bug.