Fix for bug 36596: cvsquery.cgi looping (cvsquery.pl - build_map)

cvsquery.pl no longer causes an infinite loop if you query on a module
other than 'all'


git-svn-id: svn://10.0.0.236/trunk@84665 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dave%intrec.com 2001-01-09 21:24:46 +00:00
parent fbc06947af
commit 7220934820

View File

@ -435,7 +435,7 @@ sub build_map {
if( $i eq '-l' ){
$local = $IS_LOCAL;
}
elsif( !build_map($i, $mod_map )){
elsif($i eq $name || !build_map($i, $mod_map )){
$mod_map->{$i} = $local;
}
}