Commit ac8d6a29 authored by Slava Semushin's avatar Slava Semushin

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

parent 02b25ca7
...@@ -59,7 +59,7 @@ function juLogClean() { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment