mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-15 23:07:18 +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,6 +5819,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
raise oscerr.WrongArgs('Incorrect number of arguments (Note: \'.\' is no package wc)')
|
raise oscerr.WrongArgs('Incorrect number of arguments (Note: \'.\' is no package wc)')
|
||||||
if opts.alternative_project:
|
if opts.alternative_project:
|
||||||
project = opts.alternative_project
|
project = opts.alternative_project
|
||||||
|
package = '_repository'
|
||||||
else:
|
else:
|
||||||
project = store_read_project('.')
|
project = store_read_project('.')
|
||||||
package = store_read_package('.')
|
package = store_read_package('.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user