1
0
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:
Marcus Huewe 2010-02-18 14:36:41 +01:00
parent 338813cf0e
commit 2b4570ba81

View File

@ -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: