You are viewing a plain text version of this content. The canonical link for it is here.
Posted to svn@forrest.apache.org by th...@apache.org on 2009/03/09 12:04:32 UTC
svn commit: r751653 - /forrest/trunk/etc/tidy-xml.pl
Author: thorsten
Date: Mon Mar 9 11:04:32 2009
New Revision: 751653
URL: http://svn.apache.org/viewvc?rev=751653&view=rev
Log:
Fixing script to use the absolute path instead a relative one. IMO it was a typo from the beginning
Modified:
forrest/trunk/etc/tidy-xml.pl
Modified: forrest/trunk/etc/tidy-xml.pl
URL: http://svn.apache.org/viewvc/forrest/trunk/etc/tidy-xml.pl?rev=751653&r1=751652&r2=751653&view=diff
==============================================================================
--- forrest/trunk/etc/tidy-xml.pl (original)
+++ forrest/trunk/etc/tidy-xml.pl Mon Mar 9 11:04:32 2009
@@ -83,8 +83,8 @@
$fileName =~ s/^\.\///; # strip leading ./
my $pathName = $startDir . "/" . $fileName;
$countTotal++;
- if ($opt_v) { print "$fileName : \n"; }
- open (TIDY, "$command $fileName |") or die "Cannot run 'tidy': $!";
+ if ($opt_v) { print "$pathName : \n"; }
+ open (TIDY, "$command $pathName |") or die "Cannot run 'tidy': $!";
while (<TIDY>) {
print;
}