Revision: 46837
          http://brlcad.svn.sourceforge.net/brlcad/?rev=46837&view=rev
Author:   tbrowder2
Date:     2011-09-21 16:22:32 +0000 (Wed, 21 Sep 2011)
Log Message:
-----------
better info for output--option stop works on all three methods

Modified Paths:
--------------
    brlcad/trunk/doc/docbook/validate.pl

Modified: brlcad/trunk/doc/docbook/validate.pl
===================================================================
--- brlcad/trunk/doc/docbook/validate.pl        2011-09-21 16:21:49 UTC (rev 
46836)
+++ brlcad/trunk/doc/docbook/validate.pl        2011-09-21 16:22:32 UTC (rev 
46837)
@@ -252,7 +252,7 @@
   }
   $enc_prev = $enc;
 
-  print "=== $typ VALIDATION ===\n";
+  print "=== $typ VALIDATION (method: $meth) ===\n";
 
   my $dir = dirname($f);
   my $fil = basename($f);
@@ -260,8 +260,7 @@
   unlink $tmpfil if -f $tmpfil;
   qx(echo "$hdr" > $tmpfil);
   qx(cat $f >> $tmpfil);
-  print "=== processing file '$f' (see file '$tmpfil')\n"
-    if $verbose;
+  print "=== processing file '$f' (see file '$tmpfil')\n";
 
   my $exit_status = 0;
   if ($meth eq 'msv') {
@@ -276,14 +275,16 @@
   if ($exit_status) {
     print "=== INVALID: '$f'\n";
     if ($stop) {
-      die "=== stopping after validation failure: '$f'\n";
+      print "=== stopping after validation failure: '$f'\n";
+      print "=== finished processing file '$f' (see file '$tmpfil')\n";
+      exit;
     }
   }
   else {
     print "=== VALID: '$f'\n";
   }
-  print "=== finished processing file '$f' (see file '$tmpfil')\n"
-    if $verbose;
+
+  print "=== finished processing file '$f' (see file '$tmpfil')\n";
 }
 
 print "Normal end.\n";

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


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to