uh_parser/RaptorUnreciped.pm
changeset 293 a02973783e64
parent 264 f10adc84543a
child 311 09f57a9bad07
equal deleted inserted replaced
292:4629129243a0 293:a02973783e64
   176 		
   176 		
   177 		if ($guessed_bldinf)
   177 		if ($guessed_bldinf)
   178 		{
   178 		{
   179 			$::allbldinfs->{$guessed_bldinf} = 1;
   179 			$::allbldinfs->{$guessed_bldinf} = 1;
   180 			
   180 			
   181 			# normalize bldinf path
   181 			RaptorCommon::normalize_bldinf_path(\$guessed_bldinf);
   182 			$guessed_bldinf = lc($guessed_bldinf);
   182 			
   183 			$guessed_bldinf =~ s,^[A-Za-z]:,,;
   183 			$package = RaptorCommon::get_package_subpath($guessed_bldinf);
   184 			$guessed_bldinf =~ s,[\\],/,g;
   184 			$package =~ s,/,_,g;
   185 			
       
   186 			if ($guessed_bldinf =~ m,/((os|mw|app|tools|ostools|adaptation)/[a-zA-Z]+),)
       
   187 			{
       
   188 				$package = $1;
       
   189 				$package =~ s,/,_,;
       
   190 			}
       
   191 		}
   185 		}
   192 			
   186 			
   193 		if ($line =~ m,[^\s^\r^\n],)
   187 		if ($line =~ m,[^\s^\r^\n],)
   194 		{
   188 		{
   195 			$filename = "$::raptorbitsdir/raptor_unreciped.txt";
   189 			$filename = "$::raptorbitsdir/raptor_unreciped.txt";