git: 470fb726f3d2 - main - build: Use `rm -fv` for BATCH_DELETE_OLD_FILES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 25 Oct 2022 15:19:16 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/src/commit/?id=470fb726f3d242fed42592bc59263c9d49226073
commit 470fb726f3d242fed42592bc59263c9d49226073
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2022-10-24 18:06:41 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2022-10-25 15:18:55 +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
---
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