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/d8192ad9408d
branches:  trunk
changeset: 979084:d8192ad9408d
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 d77cc6cf0aaf -r d8192ad9408d 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