mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
fixed do_rebuild: allow 'rebuild' in project paths
Previously, an 'osc rebuild' was only possible inside a package directory contrary to the command help.
This commit is contained in:
parent
c112331f25
commit
0ec57a9e84
@ -4521,6 +4521,9 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
||||
project = store_read_project(os.curdir)
|
||||
package = store_read_package(os.curdir)
|
||||
apiurl = store_read_apiurl(os.curdir)
|
||||
elif is_project_dir(os.curdir):
|
||||
project = store_read_project(os.curdir)
|
||||
apiurl = store_read_apiurl(os.curdir)
|
||||
else:
|
||||
raise oscerr.WrongArgs('Too few arguments.')
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user