Author: dylan
Date: 2004-12-29 22:58:38 -0500 (Wed, 29 Dec 2004)
New Revision: 469
Modified:
trunk/web/Makefile
trunk/web/bin/fixhtml
Log:
Fixed a bug in de-linking <a href>'s of fixhtml.
Modified: trunk/web/Makefile
===================================================================
--- trunk/web/Makefile 2004-12-30 02:58:38 UTC (rev 468)
+++ trunk/web/Makefile 2004-12-30 03:58:38 UTC (rev 469)
@@ -10,7 +10,7 @@
PERL5LIB = lib
TTFLAGS = -I $T -P init -P config
-FIXFLAGS = --noext
+FIXFLAGS = --noext
RSYNCFLAGS = -vrzlpt --exclude '.svn'
TIDYFLAGS = -q
TARFLAGS = --exclude "*.tar.*" --exclude "*.svn*"
Modified: trunk/web/bin/fixhtml
===================================================================
--- trunk/web/bin/fixhtml 2004-12-30 02:58:38 UTC (rev 468)
+++ trunk/web/bin/fixhtml 2004-12-30 03:58:38 UTC (rev 469)
@@ -141,6 +141,8 @@
if ($url eq "/$dirs") {
$ret = '.';
+ } elsif ($url eq "/$file") {
+ $ret = '.';
} else {
$ret = File::Spec::Unix->abs2rel($url, "/$dirs");
}