mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 02:36:15 +01:00
fix local multibuild flavor support when package does not exist ('_repository' case)
This commit is contained in:
parent
ae2656b415
commit
153032bc11
@ -626,7 +626,8 @@ def main(apiurl, opts, argv):
|
||||
pac = store_read_package(os.curdir)
|
||||
if opts.multibuild_package:
|
||||
buildargs.append('--buildflavor=%s' % opts.multibuild_package)
|
||||
pac = pac + ":" + opts.multibuild_package
|
||||
if pac != '_repository':
|
||||
pac = pac + ":" + opts.multibuild_package
|
||||
if opts.shell:
|
||||
buildargs.append("--shell")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user