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;
}