diff --git a/loaih/script.py b/loaih/script.py index 4a4ed91..147035e 100644 --- a/loaih/script.py +++ b/loaih/script.py @@ -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