From 470fb726f3d242fed42592bc59263c9d49226073 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 --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index 03f98b641911..f509208d045f 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3216,7 +3216,7 @@ specific library." .if !defined(BATCH_DELETE_OLD_FILES) RM_I=-i .else -RM_I=-v +RM_I=-fv .endif list-old-files: .PHONY