From: biao716.wang Date: Sun, 23 Jun 2019 05:18:30 +0000 (+0800) Subject: removed duplicated codes X-Git-Tag: submit/devel/20190730.074441^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F96%2F208296%2F1;p=tools%2Fbuild.git removed duplicated codes Change-Id: I6d050b371f769d0b23a9def2adbd418c09c09a8b Signed-off-by: biao716.wang --- diff --git a/Build.pm b/Build.pm index b3ef398..bac8c60 100644 --- a/Build.pm +++ b/Build.pm @@ -346,10 +346,8 @@ sub read_config { } else { push @{$config->{'constraint'}}, $l; } - } elsif ($l0 eq 'rpmbuildstage:') { # use the rpmbuild --stage option - $config->{'rpmbuildstage'} = $l[0]; - } elsif ($l0 eq 'rpmbuildstage:') { # use the rpmbuild --stage option - $config->{'rpmbuildstage'} = $l[0]; + } elsif ($l0 eq 'rpmbuildstage:') { # use the rpmbuild --stage option + $config->{'rpmbuildstage'} = $l[0]; } elsif ($l0 eq 'singleexport:') { $config->{'singleexport'} = $l[0]; # avoid to export multiple package container in maintenance_release projects } elsif ($l0 !~ /^[#%]/) {