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 comment in test for the...



details:   https://anonhg.NetBSD.org/src/rev/8f3007256e09
branches:  trunk
changeset: 943813:8f3007256e09
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Sep 11 06:51:38 2020 +0000

description:
make(1): fix comment in test for the || operator in conditions

Thanks to wiz for discovering this.

diffstat:

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

diffs (18 lines):

diff -r 7772143fbba1 -r 8f3007256e09 usr.bin/make/unit-tests/cond-op-or.mk
--- a/usr.bin/make/unit-tests/cond-op-or.mk     Fri Sep 11 06:47:42 2020 +0000
+++ b/usr.bin/make/unit-tests/cond-op-or.mk     Fri Sep 11 06:51:38 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cond-op-or.mk,v 1.4 2020/09/10 22:44:08 rillig Exp $
+# $NetBSD: cond-op-or.mk,v 1.5 2020/09/11 06:51:38 rillig Exp $
 #
 # Tests for the || operator in .if conditions.
 
@@ -23,7 +23,7 @@
 .if 1 || ${UNDEF}
 .endif
 
-# The && operator may be abbreviated as &.  This is not widely known though
+# The || operator may be abbreviated as |.  This is not widely known though
 # and is also not documented in the manual page.
 
 .if 0 | 0



Home | Main Index | Thread Index | Old Index