summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2019-06-23 13:18:30 +0800
committerbiao716.wang <biao716.wang@samsung.com>2019-06-23 13:18:30 +0800
commit4e6276bba20c4a66fc71da3f2cd419b250c81dd6 (patch)
tree24160b227481d84f0c8c88f70168258d6c7a20ab
parentd649da5b2c92a5b4e1c6928ace6cbc1487af48bc (diff)
downloadbuild-4e6276bba20c4a66fc71da3f2cd419b250c81dd6.tar.gz
build-4e6276bba20c4a66fc71da3f2cd419b250c81dd6.tar.bz2
build-4e6276bba20c4a66fc71da3f2cd419b250c81dd6.zip
Change-Id: I6d050b371f769d0b23a9def2adbd418c09c09a8b Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rw-r--r--Build.pm6
1 files 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 !~ /^[#%]/) {