Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests Use explicit MAKEOBJDIR to avoid tri...



details:   https://anonhg.NetBSD.org/src/rev/421e2350b2b4
branches:  trunk
changeset: 1016236:421e2350b2b4
user:      sjg <sjg%NetBSD.org@localhost>
date:      Thu Nov 12 23:53:17 2020 +0000

description:
Use explicit MAKEOBJDIR to avoid tripping over /usr/obj

diffstat:

 usr.bin/make/unit-tests/objdir-writable.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r d7b7ab42acf6 -r 421e2350b2b4 usr.bin/make/unit-tests/objdir-writable.mk
--- a/usr.bin/make/unit-tests/objdir-writable.mk        Thu Nov 12 23:35:21 2020 +0000
+++ b/usr.bin/make/unit-tests/objdir-writable.mk        Thu Nov 12 23:53:17 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: objdir-writable.mk,v 1.1 2020/11/12 23:35:21 sjg Exp $
+# $NetBSD: objdir-writable.mk,v 1.2 2020/11/12 23:53:17 sjg Exp $
 
 # test checking for writable objdir
 
@@ -22,6 +22,6 @@
        @MAKEOBJDIR=${RO_OBJDIR} ${.MAKE} -r -f /dev/null -C /tmp -V .OBJDIR MAKE_OBJDIR_CHECK_WRITABLE=no
 
 explicit-objdir:
-       @${.MAKE} -r -f ${MAKEFILE} -C /tmp do-objdir -V .OBJDIR
+       @MAKEOBJDIR=/tmp ${.MAKE} -r -f ${MAKEFILE} -C /tmp do-objdir -V .OBJDIR
 .endif
 



Home | Main Index | Thread Index | Old Index