Module Name: src
Committed By: sjg
Date: Sun Dec 13 02:09:55 UTC 2020
Modified Files:
src/usr.bin/make/unit-tests: shell-csh.mk
Log Message:
Avoid noise when csh does not exist
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.bin/make/unit-tests/shell-csh.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/shell-csh.mk
diff -u src/usr.bin/make/unit-tests/shell-csh.mk:1.6 src/usr.bin/make/unit-tests/shell-csh.mk:1.7
--- src/usr.bin/make/unit-tests/shell-csh.mk:1.6 Thu Dec 10 21:09:58 2020
+++ src/usr.bin/make/unit-tests/shell-csh.mk Sun Dec 13 02:09:55 2020
@@ -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,