mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-25 11:42:12 +01:00
- don't add buildargs twice
This commit is contained in:
parent
338813cf0e
commit
2b4570ba81
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user