From 4e6276bba20c4a66fc71da3f2cd419b250c81dd6 Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Sun, 23 Jun 2019 13:18:30 +0800 Subject: [PATCH] removed duplicated codes Change-Id: I6d050b371f769d0b23a9def2adbd418c09c09a8b Signed-off-by: biao716.wang --- Build.pm | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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 !~ /^[#%]/) { -- 2.34.1