git: 689a5b194435 - stable/13 - build: Use `rm -fv` for BATCH_DELETE_OLD_FILES

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 19:11:40 UTC
The branch stable/13 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=689a5b194435e93baeda7cd132f2a6d1d8fe88eb

commit 689a5b194435e93baeda7cd132f2a6d1d8fe88eb
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-10-24 18:06:41 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-11-19 19:10:48 +0000

    build: Use `rm -fv` for BATCH_DELETE_OLD_FILES
    
    It's possible to have files with odd permissions in the tmproot (or
    sysroot), causing rm to prompt for each one during e.g. buildworld.
    Add -f to forcibly delete these.
    
    Reviewed by:    brooks
    MFC after:      1 month
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D37111
    
    (cherry picked from commit 470fb726f3d242fed42592bc59263c9d49226073)
---
 Makefile.inc1 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 3b63c6f85ffc..f98bb58ab2f6 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -3195,7 +3195,7 @@ specific library."
 .if !defined(BATCH_DELETE_OLD_FILES)
 RM_I=-i
 .else
-RM_I=-v
+RM_I=-fv
 .endif
 
 list-old-files: .PHONY