If repo is '.', resolve absolute path.
This commit is contained in:
parent
82e366c5da
commit
7fe48c297d
|
@ -2,6 +2,7 @@
|
|||
# encoding: utf-8
|
||||
"""Helps with command line commands."""
|
||||
|
||||
import os
|
||||
import json
|
||||
import click
|
||||
import yaml
|
||||
|
@ -128,6 +129,8 @@ def build(arch, language, offline, portable, updatable, download_path, repo_path
|
|||
obj.offline_help = offline
|
||||
obj.portable = portable
|
||||
obj.updatable = updatable
|
||||
if repo_path == '.':
|
||||
repo_path = os.getcwd()
|
||||
obj.storage_path = repo_path
|
||||
obj.download_path = download_path
|
||||
|
||||
|
|
Loading…
Reference in New Issue