From c58d902be02415e48ac91a9253709c13702ed964 Mon Sep 17 00:00:00 2001 From: "terry%netscape.com" Date: Thu, 6 Aug 1998 16:54:50 +0000 Subject: [PATCH] Patch by Erik Bruchez -- cope with "-d" in the modules file. --- webtools/bonsai/cvsquery.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/webtools/bonsai/cvsquery.pl b/webtools/bonsai/cvsquery.pl index 5be3316ec1f..229c2023b76 100755 --- a/webtools/bonsai/cvsquery.pl +++ b/webtools/bonsai/cvsquery.pl @@ -388,10 +388,14 @@ sub get_module_map { return $mod_map; } + sub parse_modules { while( $l = &get_line ){ ($mod_name, $flag, @params) = split(/[ \t]+/,$l); - if( $flag ne '-a' ){ + if( $flag eq '-d' ){ + ($mod_name, $dummy, $dummy, @params) = split(/[ \t]+/,$l); + } + elsif( $flag ne '-a' ){ next; } $modules->{$mod_name} = [@params];