1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-28 02:36:15 +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' pac = '_repository'
else: else:
pac = store_read_package(os.curdir) 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: if opts.shell:
buildargs.append("--shell") buildargs.append("--shell")