mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-29 09:24:10 +02:00
Merge pull request #673 from lethliel/fix_non_colon_checkout_on_prj_level
fix checkout_no_colon on project level
This commit is contained in:
@@ -4524,6 +4524,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
|
|||||||
|
|
||||||
elif project:
|
elif project:
|
||||||
prj_dir = opts.output_dir if opts.output_dir else project
|
prj_dir = opts.output_dir if opts.output_dir else project
|
||||||
|
if not opts.output_dir and conf.config['checkout_no_colon']:
|
||||||
|
prj_dir = prj_dir.replace(':', '/')
|
||||||
if sys.platform[:3] == 'win':
|
if sys.platform[:3] == 'win':
|
||||||
prj_dir = prj_dir.replace(':', ';')
|
prj_dir = prj_dir.replace(':', ';')
|
||||||
if os.path.exists(prj_dir):
|
if os.path.exists(prj_dir):
|
||||||
|
Reference in New Issue
Block a user