Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sh2ju.sh: suppress which command output when gdate not found in $PATH #60506

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion third_party/forked/shell2junit/sh2ju.sh
Expand Up @@ -59,7 +59,7 @@ function juLogClean() {
function juLog() {
suite="";
errfile=/tmp/evErr.$$.log
date=`which gdate || which date`
date=`which gdate 2>/dev/null || which date`
asserts=00; errors=0; total=0; content=""

# parse arguments
Expand Down