removed duplicated codes 96/208296/1 submit/devel/20190730.074441 submit/devel/20190730.075528
authorbiao716.wang <biao716.wang@samsung.com>
Sun, 23 Jun 2019 05:18:30 +0000 (13:18 +0800)
committerbiao716.wang <biao716.wang@samsung.com>
Sun, 23 Jun 2019 05:18:30 +0000 (13:18 +0800)
Change-Id: I6d050b371f769d0b23a9def2adbd418c09c09a8b
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Build.pm

index b3ef398..bac8c60 100644 (file)
--- 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 !~ /^[#%]/) {