From 689a5b194435e93baeda7cd132f2a6d1d8fe88eb Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Mon, 24 Oct 2022 14:06:41 -0400 Subject: [PATCH] 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 3b63c6f85ff..f98bb58ab2f 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