From 132f43c70bd30ae73b03c68b562b7be8d6e2954d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 30 Jan 2020 10:24:36 +0100 Subject: lib/load-configuration: set up intentions_directory --- lib/load-configuration | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib') diff --git a/lib/load-configuration b/lib/load-configuration index 3130543..29d5597 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -178,6 +178,13 @@ fi mkdir -p "${work_dir}" +if ${i_am_the_master}; then + if [ -z "${intentions_directory}" ]; then + intentions_directory="${work_dir}/intentions" + fi + mkdir -p "${intentions_directory}" +fi + for repo in ${repo_names} 'releng'; do if [ "${repo}" = 'releng' ]; then -- cgit v1.2.3-70-g09d2