Browse Source

wikiheaders: Correct wiki README digest links.

Ryan C. Gordon 3 months ago
parent
commit
06c2f9fcfc
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build-scripts/wikiheaders.pl

+ 2 - 2
build-scripts/wikiheaders.pl

@@ -2707,8 +2707,8 @@ __EOF__
             opendir(DH, $wikipath) or die("Can't opendir '$wikipath': $!\n");
             opendir(DH, $wikipath) or die("Can't opendir '$wikipath': $!\n");
             while (my $d = readdir(DH)) {
             while (my $d = readdir(DH)) {
                 my $dent = $d;
                 my $dent = $d;
-                if ($dent =~ /\AREADME\-.*?\.md\Z/) {
-                    push @pages, $dent;
+                if ($dent =~ /\(AREADME\-.*?)\.md\Z/) {
+                    push @pages, $1;
                 }
                 }
             }
             }
             closedir(DH);
             closedir(DH);