Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Nov 2017 00:26:28 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325419 - head/share/mk
Message-ID:  <201711050026.vA50QSwW051084@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Nov  5 00:26:28 2017
New Revision: 325419
URL: https://svnweb.freebsd.org/changeset/base/325419

Log:
  Avoid trying to remove a fullpath directory in CLEANDIRS.
  
  Let CLEANDIRS work relative since make is already in .OBJDIR.
  
  MFC after:	2 weeks
  X-MFC-With:	r322511
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/suite.test.mk

Modified: head/share/mk/suite.test.mk
==============================================================================
--- head/share/mk/suite.test.mk	Sun Nov  5 00:12:12 2017	(r325418)
+++ head/share/mk/suite.test.mk	Sun Nov  5 00:26:28 2017	(r325419)
@@ -101,11 +101,11 @@ realcheck: .PHONY
 	fi
 	@env ${TESTS_ENV:Q} ${KYUA} test -k ${DESTDIR}${TESTSDIR}/Kyuafile
 
-MAKE_CHECK_SANDBOX_DIR=	${.OBJDIR}/checkdir
+MAKE_CHECK_SANDBOX_DIR=	checkdir
 CLEANDIRS+=	${MAKE_CHECK_SANDBOX_DIR}
 
 .if ${MK_MAKE_CHECK_USE_SANDBOX} != "no" && make(check)
-DESTDIR:=	${MAKE_CHECK_SANDBOX_DIR}
+DESTDIR:=	${.OBJDIR}/${MAKE_CHECK_SANDBOX_DIR}
 
 beforecheck:
 .for t in clean depend all



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