mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-12 16:56:15 +01:00
- fix for commit b0ddeb909d
This commit is contained in:
parent
4f4e90bafc
commit
2460d8a8f8
@ -463,8 +463,8 @@ def main(apiurl, opts, argv):
|
||||
opts.local_package = True
|
||||
if opts.local_package:
|
||||
pacname = os.path.splitext(build_descr)[0]
|
||||
apihost = urlparse.urlsplit(apiurl)[1]
|
||||
if not build_root:
|
||||
apihost = urlparse.urlsplit(apiurl)[1]
|
||||
build_root = config['build-root'] % {'repo': repo, 'arch': arch,
|
||||
'project': prj, 'package': pacname, 'apihost': apihost}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user