tbug fix - plan9port - [fork] Plan 9 from user space
(HTM) git clone git://src.adamsgaard.dk/plan9port
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit b979854f538894bfb9b0534af9f6325ef88b0447
(DIR) parent 7924d524b9ea212ef2ef3e73bfcd197167478fdd
(HTM) Author: rsc <devnull@localhost>
Date: Fri, 18 Mar 2005 18:53:21 +0000
bug fix
Diffstat:
M dist/addsrclinks | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/dist/addsrclinks b/dist/addsrclinks
t@@ -3,7 +3,7 @@
@_ = <>;
my $root = $ENV{'PLAN9'};
my $html = join("", @_);
-$html =~ s;$root;XXX$root;g;
+$html =~ s;$root/;XXX$root/;g;
while($html =~ /((.|\n)*)XXX($root\/([a-zA-Z0-9_.\/]|−)*[a-zA-Z0-9_\/])((.|\n)*)/){
($a, $b, $c) = ($1, $3, $5);
$b =~ s/−/-/g;