mirror of
https://github.com/jellyfin/jellyfin-build.git
synced 2024-11-30 09:30:45 +00:00
Fix bug with method arg
This commit is contained in:
parent
f1c45561eb
commit
38ef2db803
2
build.py
2
build.py
@ -95,7 +95,7 @@ def clone_project(project):
|
||||
type_dir = "{cwd}/projects/{ptype}".format(cwd=cwd, ptype=project_type)
|
||||
project_dir = "{cwd}/projects/{ptype}/{name}".format(cwd=cwd, ptype=project_type, name=project_name)
|
||||
# Determine our clone command
|
||||
if args.method == 'ssh':
|
||||
if args.method[0] == 'ssh':
|
||||
clone_cmd = "git clone git@{url} {pdir}".format(url=project_url, pdir=project_dir)
|
||||
else:
|
||||
clone_cmd = "git clone https://{url} {pdir}".format(url=project_url, pdir=project_dir)
|
||||
|
Loading…
Reference in New Issue
Block a user