diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-27 03:30:47 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-27 03:31:56 +0300 |
commit | f5a529dfdc898e6a326f692ea5fee2bccc0bf14c (patch) | |
tree | 622e5e0282b72c51fa0945c48c49f52da610c537 /cgit/repos/main.py | |
parent | workflows/test: tweak step names (diff) | |
download | cgitize-f5a529dfdc898e6a326f692ea5fee2bccc0bf14c.tar.gz cgitize-f5a529dfdc898e6a326f692ea5fee2bccc0bf14c.zip |
cgit-repos.conf: path to output might be relative
Diffstat (limited to 'cgit/repos/main.py')
-rw-r--r-- | cgit/repos/main.py | 3 |
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): |