Don't display stderr for the testing command in check.sh's runif;

And remove an obsolete comment in check-clippy.sh.
This commit is contained in:
Benjamin Bouvier
2018-07-10 17:06:03 +02:00
committed by Dan Gohman
parent bcc268a3cd
commit 7204026bc8
2 changed files with 2 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ topdir=$(dirname "$0")
cd "$topdir"
function runif {
if type "$1" > /dev/null; then
if type "$1" > /dev/null 2>&1; then
version=$("$1" --version 2>&1)
echo " === $1: $version ==="
"$@"