mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 15:43:39 +02:00
- don't add buildargs twice
This commit is contained in:
@@ -512,7 +512,7 @@ def main(opts, argv):
|
||||
|
||||
bi = Buildinfo(bi_filename, apiurl, build_type, prefer_pkgs.keys())
|
||||
|
||||
if bi.debuginfo and not opts.disable_debuginfo:
|
||||
if bi.debuginfo and not (opts.disable_debuginfo or '--debug' in buildargs):
|
||||
buildargs.append('--debug')
|
||||
|
||||
if opts.release:
|
||||
|
Reference in New Issue
Block a user