Skip to content

Commit

Permalink
fix osc build --without and --define
Browse files Browse the repository at this point in the history
  • Loading branch information
lethliel committed Dec 4, 2018
1 parent 9497173 commit d3994b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions osc/build.py
Expand Up @@ -672,7 +672,7 @@ def main(apiurl, opts, argv):
if opts.without:
s = ''
for i in opts.without:
s += b"%%define _without_%s 1\n" % i
s += "%%define _without_%s 1\n" % i
build_descr_data = s + decode_it(build_descr_data)
if opts._with:
s = ''
Expand All @@ -682,7 +682,7 @@ def main(apiurl, opts, argv):
if opts.define:
s = ''
for i in opts.define:
s += b"%%define %s\n" % i
s += "%%define %s\n" % i
build_descr_data = s + decode_it(build_descr_data)

cpiodata = None
Expand Down

0 comments on commit d3994b6

Please sign in to comment.