If repo is '.', resolve absolute path.

This commit is contained in:
emiliano.vavassori 2023-12-01 22:44:24 +01:00
parent 82e366c5da
commit 7fe48c297d
1 changed files with 3 additions and 0 deletions

View File

@ -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