mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 10:36:17 +01:00
use _repository if alt prj is used
Use _repository as package name if alternative_project is used
This commit is contained in:
parent
6c23e10d80
commit
333028401e
@ -5819,9 +5819,10 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
raise oscerr.WrongArgs('Incorrect number of arguments (Note: \'.\' is no package wc)')
|
||||
if opts.alternative_project:
|
||||
project = opts.alternative_project
|
||||
package = '_repository'
|
||||
else:
|
||||
project = store_read_project('.')
|
||||
package = store_read_package('.')
|
||||
package = store_read_package('.')
|
||||
repository, arch, build_descr = self.parse_repoarchdescr(args, alternative_project=opts.alternative_project, ignore_descr=True, multibuild_package=opts.multibuild_package)
|
||||
elif len(args) == 4 or len(args) == 5:
|
||||
project = args[0]
|
||||
|
Loading…
Reference in New Issue
Block a user