Module Name:    src
Committed By:   rillig
Date:           Mon Sep  7 05:16:32 UTC 2020

Modified Files:
        src/usr.bin/make/unit-tests: archive.mk

Log Message:
make(1): fix archive test when .CURDIR != .PARSEDIR


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.bin/make/unit-tests/archive.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.bin/make/unit-tests/archive.mk
diff -u src/usr.bin/make/unit-tests/archive.mk:1.7 src/usr.bin/make/unit-tests/archive.mk:1.8
--- src/usr.bin/make/unit-tests/archive.mk:1.7	Sat Sep  5 06:20:51 2020
+++ src/usr.bin/make/unit-tests/archive.mk	Mon Sep  7 05:16:32 2020
@@ -1,4 +1,4 @@
-# $NetBSD: archive.mk,v 1.7 2020/09/05 06:20:51 rillig Exp $
+# $NetBSD: archive.mk,v 1.8 2020/09/07 05:16:32 rillig Exp $
 #
 # Very basic demonstration of handling archives, based on the description
 # in PSD.doc/tutorial.ms.
@@ -15,7 +15,7 @@ RUN?=		@set -eu;
 
 all:
 .if ${.PARSEDIR:tA} != ${.CURDIR:tA}
-	@cd ${MAKEFILE:H} && cp ${FILES} t*.mk ${.CURDIR}
+	@cd ${MAKEFILE:H} && cp ${FILES} [at]*.mk ${.CURDIR}
 .endif
 # The following targets are run in sub-makes to ensure that they get the
 # current state of the filesystem right, since they creating and removing

Reply via email to