mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +00:00
sh2ju.sh: suppress which
command output when gdate not found in $PATH.
This commit is contained in:
parent
02b25ca76b
commit
ac8d6a295a
2
third_party/forked/shell2junit/sh2ju.sh
vendored
2
third_party/forked/shell2junit/sh2ju.sh
vendored
@ -59,7 +59,7 @@ function juLogClean() {
|
|||||||
function juLog() {
|
function juLog() {
|
||||||
suite="";
|
suite="";
|
||||||
errfile=/tmp/evErr.$$.log
|
errfile=/tmp/evErr.$$.log
|
||||||
date=`which gdate || which date`
|
date=`which gdate 2>/dev/null || which date`
|
||||||
asserts=00; errors=0; total=0; content=""
|
asserts=00; errors=0; total=0; content=""
|
||||||
|
|
||||||
# parse arguments
|
# parse arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user