git: 66fe805070d1 - main - tests/ci: Fix wrong chflags target path in 'beforeclean' target
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 24 Jul 2025 20:13:08 UTC
The branch main has been updated by lwhsu:
URL: https://cgit.FreeBSD.org/src/commit/?id=66fe805070d121d4b93f63b7b02a70d76069edfc
commit 66fe805070d121d4b93f63b7b02a70d76069edfc
Author: Siva Mahadevan <me@svmhdvn.name>
AuthorDate: 2025-07-24 20:11:18 +0000
Commit: Li-Wen Hsu <lwhsu@FreeBSD.org>
CommitDate: 2025-07-24 20:12:53 +0000
tests/ci: Fix wrong chflags target path in 'beforeclean' target
Signed-off-by: Siva Mahadevan <me@svmhdvn.name>
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51304
---
tests/ci/Makefile | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/ci/Makefile b/tests/ci/Makefile
index ac7faff3afae..964664cbfbb9 100644
--- a/tests/ci/Makefile
+++ b/tests/ci/Makefile
@@ -134,7 +134,8 @@ METAMODE?=-DWITH_META_MODE
.endif
CLEANFILES+= ${.OBJDIR}/${CIIMAGE} ${.OBJDIR}/ci.img ${META_TAR}
-CLEANDIRS+= ${.OBJDIR}/ci-buildimage
+IMAGEDIR= ${.OBJDIR}/ci-buildimage
+CLEANDIRS+= ${IMAGEDIR}
portinstall: portinstall-pkg portinstall-qemu portinstall-expect portinstall-${TARGET_ARCH:tl} .PHONY
@@ -157,7 +158,7 @@ portinstall-expect: portinstall-pkg .PHONY
.endif
beforeclean: .PHONY
- chflags -R noschg ${.OBJDIR}/${.TARGET}
+ chflags -R noschg ${IMAGEDIR}
.include <bsd.obj.mk>
clean: beforeclean .PHONY