git: 7ce171bd4220 - main - depend-cleanup.sh: Fix pretend (-n) mode
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Sep 2024 16:17:15 UTC
The branch main has been updated by jrtc27:
URL: https://cgit.FreeBSD.org/src/commit/?id=7ce171bd4220b2e8946556bb806c787b51324993
commit 7ce171bd4220b2e8946556bb806c787b51324993
Author: Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2024-09-10 16:14:37 +0000
Commit: Jessica Clarke <jrtc27@FreeBSD.org>
CommitDate: 2024-09-10 16:14:37 +0000
depend-cleanup.sh: Fix pretend (-n) mode
Fixes: 26a09db3add3 ("Fix incremental build with WITH_NVME newly enabled")
MFC after: 1 week
---
tools/build/depend-cleanup.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/build/depend-cleanup.sh b/tools/build/depend-cleanup.sh
index da3dd05c6c4d..2ae5a8c77448 100755
--- a/tools/build/depend-cleanup.sh
+++ b/tools/build/depend-cleanup.sh
@@ -180,7 +180,7 @@ fi
if [ -f "$OBJTOP"/rescue/rescue/rescue.mk ] && \
grep -q -v 'nvme_util.o' "$OBJTOP"/rescue/rescue/rescue.mk; then
echo "removing rescue.mk without nvme_util.o"
- rm -f "$OBJTOP"/rescue/rescue/rescue.mk
+ run rm -f "$OBJTOP"/rescue/rescue/rescue.mk
fi
# 20240910 e2df9bb44109