Fix module name parsing (e.g. cvsweb.cgi/sys_netinet works again)
This commit is contained in:
parent
4d77a0857c
commit
816413359b
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2185
2 changed files with 2 additions and 4 deletions
|
@ -228,8 +228,7 @@ print("going to dolog($fullname)\n") if ($verbose);
|
||||||
# Display a form offering diffs between said tags
|
# Display a form offering diffs between said tags
|
||||||
} else {
|
} else {
|
||||||
# Assume it's a module name with a potential path following it.
|
# Assume it's a module name with a potential path following it.
|
||||||
($module = $where) =~ s|/.*||;
|
$xtra = $& if (($module = $where) =~ s|/.*||);
|
||||||
$xtra = $&;
|
|
||||||
# Is there an indexed version of modules?
|
# Is there an indexed version of modules?
|
||||||
if (open(MODULES, "$cvsroot/CVSROOT/modules")) {
|
if (open(MODULES, "$cvsroot/CVSROOT/modules")) {
|
||||||
while (<MODULES>) {
|
while (<MODULES>) {
|
||||||
|
|
|
@ -228,8 +228,7 @@ print("going to dolog($fullname)\n") if ($verbose);
|
||||||
# Display a form offering diffs between said tags
|
# Display a form offering diffs between said tags
|
||||||
} else {
|
} else {
|
||||||
# Assume it's a module name with a potential path following it.
|
# Assume it's a module name with a potential path following it.
|
||||||
($module = $where) =~ s|/.*||;
|
$xtra = $& if (($module = $where) =~ s|/.*||);
|
||||||
$xtra = $&;
|
|
||||||
# Is there an indexed version of modules?
|
# Is there an indexed version of modules?
|
||||||
if (open(MODULES, "$cvsroot/CVSROOT/modules")) {
|
if (open(MODULES, "$cvsroot/CVSROOT/modules")) {
|
||||||
while (<MODULES>) {
|
while (<MODULES>) {
|
||||||
|
|
Loading…
Reference in a new issue