index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2020-01-30 10:24:36 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2020-01-30 10:24:36 +0100 |
commit | 132f43c70bd30ae73b03c68b562b7be8d6e2954d (patch) | |
tree | 6b4e4c44f53c9e200f23168350517089add768f1 | |
parent | 491ea7b73d20a2c43a96b8716c0f5335ee27289e (diff) |
-rwxr-xr-x | conf/master.conf.example | 3 | ||||
-rwxr-xr-x | lib/load-configuration | 7 |
diff --git a/conf/master.conf.example b/conf/master.conf.example index 130444e..f2a3bcf 100755 --- a/conf/master.conf.example +++ b/conf/master.conf.example @@ -24,6 +24,9 @@ # directory to keep the build log files in #build_log_directory='/srv/http/build-logs' +# directory to store the intentions queue in +#intentions_directory="${work_dir}/intentions" + # irc client configuration #irc_dir='/home/master/irc/irc.freenode.net' #irc_password='top_secret' 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 |