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/79c01768f197
branches:  trunk
changeset: 978201:79c01768f197
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 d49e9514d1b2 -r 79c01768f197 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