aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/cgit/repos
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-27 03:30:47 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-27 03:31:56 +0300
commitf5a529dfdc898e6a326f692ea5fee2bccc0bf14c (patch)
tree622e5e0282b72c51fa0945c48c49f52da610c537 /cgit/repos
parentworkflows/test: tweak step names (diff)
downloadcgitize-f5a529dfdc898e6a326f692ea5fee2bccc0bf14c.tar.gz
cgitize-f5a529dfdc898e6a326f692ea5fee2bccc0bf14c.zip
cgit-repos.conf: path to output might be relative
Diffstat (limited to 'cgit/repos')
-rw-r--r--cgit/repos/main.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgit/repos/main.py b/cgit/repos/main.py
index c8af42f..bc8fa72 100644
--- a/cgit/repos/main.py
+++ b/cgit/repos/main.py
@@ -66,7 +66,8 @@ class Config:
@property
def output(self):
- return self.impl.get('DEFAULT', 'output', fallback=DEFAULT_OUTPUT_DIR)
+ path = self.impl.get('DEFAULT', 'output', fallback=DEFAULT_OUTPUT_DIR)
+ return self._resolve_relative(path)
@property
def clone_url(self):