forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thors...@apache.org
Subject svn commit: r751653 - /forrest/trunk/etc/tidy-xml.pl
Date Mon, 09 Mar 2009 11:04:32 GMT
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;
   }



Mime
View raw message