From e3bbdf541c0d8953910d3a2319c4834163093b56 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 13 Aug 2019 16:03:54 +0300 Subject: write to /var/tmp/cgit-repos/output by default --- examples/cgit-repos.conf | 2 +- pull/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/cgit-repos.conf b/examples/cgit-repos.conf index 9729fd3..94f73cd 100644 --- a/examples/cgit-repos.conf +++ b/examples/cgit-repos.conf @@ -5,7 +5,7 @@ # /etc/cgit-repos/my_repos.py by default. my_repos = /path/to/my_repos.py -# "$( pwd )/output/" by default. +# /var/tmp/cgit-repos/output by default. output = /path/to/output/ # URL to clone from the output directory. diff --git a/pull/main.py b/pull/main.py index a4eeeab..e5543bc 100644 --- a/pull/main.py +++ b/pull/main.py @@ -9,7 +9,7 @@ from pull.cgit import CGit, Output from pull.repo import BitbucketRepo, GithubRepo, Repo -DEFAULT_OUTPUT_DIR = 'output' +DEFAULT_OUTPUT_DIR = '/var/tmp/cgit-repos/output' DEFAULT_CONFIG_PATH = '/etc/cgit-repos/cgit-repos.conf' DEFAULT_MY_REPOS_PATH = '/etc/cgit-repos/my_repos.py' -- cgit v1.2.3