FS-8021 #resolve [filebug.pl allow comma separated component entry]
This commit is contained in:
parent
8f5a8a91cd
commit
9d070b5c98
|
@ -92,7 +92,11 @@ if ($opts{versions}) {
|
|||
}
|
||||
|
||||
if ($opts{components}) {
|
||||
$opts{components_array} = [map {{name => $_}} split(" ", $opts{components})];
|
||||
if ($opts{components} =~ /,/) {
|
||||
$opts{components_array} = [map {{name => $_}} split(" ", $opts{components})];
|
||||
} else {
|
||||
$opts{components_array} = [map {{name => $_}} split(" ", $opts{components})];
|
||||
}
|
||||
} else {
|
||||
$opts{components_array} = [map {{name => $_}} ($default_components)];
|
||||
$opts{components} = $default_components;
|
||||
|
@ -169,7 +173,11 @@ if ($opts{askall}) {
|
|||
$opts{versions_array} = [map {{name => $_}} split(" ", $opts{versions})];
|
||||
$opts{summary} = getfield("Summary: ", $opts{summary});
|
||||
$opts{components} = getfield("Components: ", $opts{components});
|
||||
$opts{components_array} = [map {{name => $_}} split(" ", $opts{components})];
|
||||
if ($opts{components} =~ /,/) {
|
||||
$opts{components_array} = [map {{name => $_}} split(",", $opts{components})];
|
||||
} else {
|
||||
$opts{components_array} = [map {{name => $_}} split(" ", $opts{components})];
|
||||
}
|
||||
$opts{hash} = getfield("GIT Hash: ", $opts{hash});
|
||||
|
||||
if ($opts{noedit}) {
|
||||
|
|
Loading…
Reference in New Issue