Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/load-configuration
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2020-01-30 10:24:36 +0100
committerErich Eckner <git@eckner.net>2020-01-30 10:24:36 +0100
commit132f43c70bd30ae73b03c68b562b7be8d6e2954d (patch)
tree6b4e4c44f53c9e200f23168350517089add768f1 /lib/load-configuration
parent491ea7b73d20a2c43a96b8716c0f5335ee27289e (diff)
lib/load-configuration: set up intentions_directory
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration7
1 files changed, 7 insertions, 0 deletions
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