Revision: 41338
          http://brlcad.svn.sourceforge.net/brlcad/?rev=41338&view=rev
Author:   brlcad
Date:     2010-11-12 21:41:43 +0000 (Fri, 12 Nov 2010)

Log Message:
-----------
accommodate the Using debug statement from mged/libtclcad with a simple grep.

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

Modified: brlcad/trunk/sh/conversion.sh
===================================================================
--- brlcad/trunk/sh/conversion.sh       2010-11-12 21:39:38 UTC (rev 41337)
+++ brlcad/trunk/sh/conversion.sh       2010-11-12 21:41:43 UTC (rev 41338)
@@ -65,25 +65,25 @@
     WORK="${FILE}.conversion"
     cp "$FILE" "$WORK"
 
-    $MGED -c "$WORK" search . 2>&1 | while read object ; do
+    $MGED -c "$WORK" search . 2>&1 | grep -v Using | while read object ; do
 
        obj="`basename \"$object\"`"
-       found=`$MGED -c "$WORK" search . -name \"${obj}\" 2>&1`
+       found=`$MGED -c "$WORK" search . -name \"${obj}\" 2>&1 | grep -v Using`
        if test "x$found" != "x$object" ; then
            echo "INTERNAL ERROR: Failed to find [$object] with [$obj] (got 
[$found])"
            exit 3
        fi
 
        nmg=fail
-       $MGED -c "$WORK" facetize -n \"${obj}.nmg\" \"${obj}\" >/dev/null 2>&1
-       found=`$MGED -c "$WORK" search . -name \"${obj}.nmg\" 2>&1`     
+       $MGED -c "$WORK" facetize -n \"${obj}.nmg\" \"${obj}\"
+       found=`$MGED -c "$WORK" search . -name \"${obj}.nmg\" 2>&1 | grep -v 
Using`
        if test "x$found" = "x${object}.nmg" ; then
            nmg=pass
        fi
        
        bot=fail
-       $MGED -c "$WORK" facetize \"${obj}.bot\" \"${obj}\" >/dev/null 2>&1
-       found=`$MGED -c "$WORK" search . -name \"${obj}.bot\" 2>&1`     
+       $MGED -c "$WORK" facetize \"${obj}.bot\" \"${obj}\"
+       found=`$MGED -c "$WORK" search . -name \"${obj}.bot\" 2>&1 | grep -v 
Using`
        if test "x$found" = "x${object}.bot" ; then
            bot=pass
        fi


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

------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to