Revision: 55313
          http://sourceforge.net/p/brlcad/code/55313
Author:   r_weiss
Date:     2013-05-07 16:18:09 +0000 (Tue, 07 May 2013)
Log Message:
-----------
Bug fix to 'cmp.sh' script to fix 'g_qa' volume testing.

Modified Paths:
--------------
    brlcad/trunk/sh/cmp.sh

Modified: brlcad/trunk/sh/cmp.sh
===================================================================
--- brlcad/trunk/sh/cmp.sh      2013-05-07 04:48:48 UTC (rev 55312)
+++ brlcad/trunk/sh/cmp.sh      2013-05-07 16:18:09 UTC (rev 55313)
@@ -305,7 +305,7 @@
   ################
 echo -n "Volu: "
 rm -f $base.base.gqa.log
-g_qa $GQTOL -Av $dbfile $base >$base.base.gqa.log 2>&1
+g_qa "$GQTOL" -Av $dbfile $base >$base.base.gqa.log 2>&1
 if ! test -f $base.base.gqa.log ; then
     echo "ERROR: $base.base.gqa.log failed to evaluate"
     continue
@@ -314,7 +314,7 @@
 bvol=`printf "%.1f" $bvol`
 if ! test "x$bvol" = "x" && ! test "x$bvol" = "x0.0" ; then
     rm -f "$i.gqa.log"
-    vol="`g_qa $GQTOL -Av $dbfile $i 2>&1 | tee $i.gqa.log | tail -n 5 | grep 
total | awk '{print $4}'`"
+    vol="`g_qa "$GQTOL" -Av $dbfile $i 2>&1 | tee $i.gqa.log | tail -n 5 | 
grep total | awk '{print $4}'`"
     vol=`printf "%.1f" $vol`
     if test "x$vol" = "x" ; then
        vol="0"

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


------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to