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 make(1): fix archive test when .CURD...
details: https://anonhg.NetBSD.org/src/rev/1e9da45488ca
branches: trunk
changeset: 954617:1e9da45488ca
user: rillig <rillig%NetBSD.org@localhost>
date: Mon Sep 07 05:16:32 2020 +0000
description:
make(1): fix archive test when .CURDIR != .PARSEDIR
diffstat:
usr.bin/make/unit-tests/archive.mk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f4c0fd33efa0 -r 1e9da45488ca usr.bin/make/unit-tests/archive.mk
--- a/usr.bin/make/unit-tests/archive.mk Mon Sep 07 04:15:12 2020 +0000
+++ b/usr.bin/make/unit-tests/archive.mk Mon Sep 07 05:16:32 2020 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index