From owner-svn-src-projects@freebsd.org Wed Aug 2 03:09:56 2017 Return-Path: Delivered-To: svn-src-projects@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 98251DC3F0A for ; Wed, 2 Aug 2017 03:09:56 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 675E972DE8; Wed, 2 Aug 2017 03:09:56 +0000 (UTC) (envelope-from ngie@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7239tev085525; Wed, 2 Aug 2017 03:09:55 GMT (envelope-from ngie@FreeBSD.org) Received: (from ngie@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7239te8085524; Wed, 2 Aug 2017 03:09:55 GMT (envelope-from ngie@FreeBSD.org) Message-Id: <201708020309.v7239te8085524@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ngie set sender to ngie@FreeBSD.org using -f From: Ngie Cooper Date: Wed, 2 Aug 2017 03:09:55 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r321902 - projects/make-check-sandbox/share/mk X-SVN-Group: projects X-SVN-Commit-Author: ngie X-SVN-Commit-Paths: projects/make-check-sandbox/share/mk X-SVN-Commit-Revision: 321902 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2017 03:09:56 -0000 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: