Date: Wed, 2 Aug 2017 03:09:55 +0000 (UTC) From: Ngie Cooper <ngie@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r321902 - projects/make-check-sandbox/share/mk Message-ID: <201708020309.v7239te8085524@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ngie Date: Wed Aug 2 03:09:55 2017 New Revision: 321902 URL: https://svnweb.freebsd.org/changeset/base/321902 Log: Clean up DESTDIR, not CHECKDIR While here, make the variable immediate to avoid silly mistakes that might result in wiping out / by accident if the variable is evaluated in a delayed manner due to poor use of $DESTDIR. Modified: projects/make-check-sandbox/share/mk/suite.test.mk Modified: projects/make-check-sandbox/share/mk/suite.test.mk ============================================================================== --- projects/make-check-sandbox/share/mk/suite.test.mk Wed Aug 2 03:06:08 2017 (r321901) +++ projects/make-check-sandbox/share/mk/suite.test.mk Wed Aug 2 03:09:55 2017 (r321902) @@ -102,8 +102,8 @@ realcheck: .PHONY @env ${TESTS_ENV:Q} ${KYUA} test -k ${CHECKDIR}/Kyuafile .ifdef _TESTS_USE_OBJDIR -DESTDIR= ${.OBJDIR}/checkdir -CLEANDIRS+= ${CHECKDIR} +DESTDIR:= ${.OBJDIR}/checkdir +CLEANDIRS+= ${DESTDIR} # XXX (ngie): use daemon(1) and a pidfile to lock the directory? beforecheck:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708020309.v7239te8085524>