aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiva Mahadevan <me@svmhdvn.name>2025-07-24 20:11:18 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2025-07-24 20:12:53 +0000
commit66fe805070d121d4b93f63b7b02a70d76069edfc (patch)
treea056fc60cf20bbe497a37192adcf930d56a15130
parent6a41fd466701db71da443e1b87b31d463d99d056 (diff)
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
-rw-r--r--tests/ci/Makefile5
1 files 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