From 153032bc11f855736eb6c3d92daa35b4c4c68f5f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 22 Aug 2018 11:20:40 +0200 Subject: [PATCH] fix local multibuild flavor support when package does not exist ('_repository' case) --- osc/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/osc/build.py b/osc/build.py index 639c41b8..16ef720d 100644 --- a/osc/build.py +++ b/osc/build.py @@ -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")