1
0
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:
Marcus Huewe 2011-04-28 23:55:22 +02:00
parent 4f4e90bafc
commit 2460d8a8f8

View File

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