1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-12 02:04:04 +02:00

fix local multibuild flavor support when package does not exist ('_repository' case)

This commit is contained in:
2018-08-22 11:20:40 +02:00
parent ae2656b415
commit 153032bc11

View File

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