Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 16:17:15 GMT
From:      Jessica Clarke <jrtc27@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7ce171bd4220 - main - depend-cleanup.sh: Fix pretend (-n) mode
Message-ID:  <202409101617.48AGHFqx017208@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409101617.48AGHFqx017208>