forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r392201 - /forrest/trunk/etc/tidy-xml.pl
Date Fri, 07 Apr 2006 06:38:53 GMT
Author: crossley
Date: Thu Apr  6 23:38:51 2006
New Revision: 392201

URL: http://svn.apache.org/viewcvs?rev=392201&view=rev
Log:
die rather than warn if cannot run tidy.

Modified:
    forrest/trunk/etc/tidy-xml.pl

Modified: forrest/trunk/etc/tidy-xml.pl
URL: http://svn.apache.org/viewcvs/forrest/trunk/etc/tidy-xml.pl?rev=392201&r1=392200&r2=392201&view=diff
==============================================================================
--- forrest/trunk/etc/tidy-xml.pl (original)
+++ forrest/trunk/etc/tidy-xml.pl Thu Apr  6 23:38:51 2006
@@ -84,7 +84,7 @@
   my $pathName = $startDir . "/" . $fileName;
   $countTotal++;
   if ($opt_v) { print "$fileName : \n"; }
-  open (TIDY, "$command $fileName |") or warn "Cannot open TIDY: $!";
+  open (TIDY, "$command $fileName |") or die "Cannot run 'tidy': $!";
   while (<TIDY>) {
     print;
   }



Mime
View raw message