1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-28 10:46:15 +01:00

Merge branch 'pass_build_flavor' of https://github.com/lethliel/osc

Pass --buildflavor option to the "build" script, if the --multibuild-package
option was specified.
This commit is contained in:
Marcus Huewe 2017-05-31 22:10:54 +02:00
commit d8ba39416b

View File

@ -604,6 +604,9 @@ def main(apiurl, opts, argv):
pac = '_repository'
else:
pac = store_read_package(os.curdir)
if opts.multibuild_package:
buildargs.append('--buildflavor=%s' % opts.multibuild_package)
pac = pac + ":" + opts.multibuild_package
if opts.shell:
buildargs.append("--shell")