mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 14:56:14 +01:00
- use correct package name unless --local-package is specified
This commit is contained in:
parent
fe6dec5410
commit
3dc4a09a29
@ -355,7 +355,10 @@ def main(opts, argv):
|
||||
|
||||
pacname = pac
|
||||
if pacname == '_repository':
|
||||
pacname = os.path.splitext(build_descr)[0]
|
||||
if opts.local_package:
|
||||
pacname = os.path.splitext(build_descr)[0]
|
||||
else:
|
||||
pacname = store_read_package(os.curdir)
|
||||
if not build_root:
|
||||
build_root = config['build-root'] % { 'repo': repo, 'arch': arch,
|
||||
'project' : prj, 'package' : pacname
|
||||
|
Loading…
Reference in New Issue
Block a user