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 Avoid noise when csh does not exist



details:   https://anonhg.NetBSD.org/src/rev/8f3cd5b73f81
branches:  trunk
changeset: 957860:8f3cd5b73f81
user:      sjg <sjg%NetBSD.org@localhost>
date:      Sun Dec 13 02:09:55 2020 +0000

description:
Avoid noise when csh does not exist

diffstat:

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

diffs (14 lines):

diff -r 33752220f60e -r 8f3cd5b73f81 usr.bin/make/unit-tests/shell-csh.mk
--- a/usr.bin/make/unit-tests/shell-csh.mk      Sun Dec 13 02:09:33 2020 +0000
+++ b/usr.bin/make/unit-tests/shell-csh.mk      Sun Dec 13 02:09:55 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: shell-csh.mk,v 1.6 2020/12/10 21:09:58 rillig Exp $
+# $NetBSD: shell-csh.mk,v 1.7 2020/12/13 02:09:55 sjg Exp $
 #
 # Tests for using a C shell for running the commands.
 
-CSH!=  which csh || true
+CSH!=  which csh 2> /dev/null || true
 
 # The shell path must be an absolute path.
 # This is only obvious in parallel mode since in compat mode,



Home | Main Index | Thread Index | Old Index