Revision: 77480
          http://sourceforge.net/p/brlcad/code/77480
Author:   brlcad
Date:     2020-10-18 08:09:08 +0000 (Sun, 18 Oct 2020)
Log Message:
-----------
echo builtin is unreliable as some platforms support \n and others do not, some 
recognize -n and -c flags to echo, others do not.  instead use a here now doc 
so we can avoid calling echo altogether.

Modified Paths:
--------------
    brlcad/trunk/bench/run.sh

Modified: brlcad/trunk/bench/run.sh
===================================================================
--- brlcad/trunk/bench/run.sh   2020-10-18 08:02:36 UTC (rev 77479)
+++ brlcad/trunk/bench/run.sh   2020-10-18 08:09:08 UTC (rev 77480)
@@ -613,7 +613,8 @@
 fi
 
 # sanity check: make sure $CMP runs
-out=`echo '\n\n\n\n\n' | eval \"$CMP\" - - 2>&1`
+out=`eval \"$CMP\" - - 2>&1 <<EOF
+EOF`
 ret=$?
 if test ! "x${ret}" = "x0" ; then
     $ECHO

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to