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:
committed by
Dan Gohman
parent
bcc268a3cd
commit
7204026bc8
@@ -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 ==="
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user