1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 10:16:14 +01:00

pass --buildflavor to build script

This commit is contained in:
Marco Strigl 2017-05-02 10:13:56 +02:00
parent 5d480fd370
commit fcef29131c

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")