defect 4294 - fix rmkitcomp to recognize ubuntu prerequisite prep-kitcomp otherpkgslist entry

This commit is contained in:
mellor 2014-10-14 18:35:41 -04:00
parent 0c51f6e92a
commit c85c5acdee

View File

@ -2897,7 +2897,8 @@ sub rmkitcomp
$inlist = 1;
}
if ( $kitcomps{$kitcomponent}{prerequisite} ) {
if ( $line =~ /^$kitreponame\/prep_$basename$/ ) {
if (( $line =~ /^$kitreponame\/prep_$basename$/ ) ||
( $line =~ /^$kitreponame\/prep-$basename$/ )) {
if ( $inlist ) {
$num--;
foreach ( 1..$num ) {