mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 03:06: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:
commit
d8ba39416b
@ -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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user