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:
Diffstat (limited to 'lib/load-configuration')
-rwxr-xr-xlib/load-configuration13
1 files changed, 11 insertions, 2 deletions
diff --git a/lib/load-configuration b/lib/load-configuration
index 7a6a4f3..8c893fc 100755
--- a/lib/load-configuration
+++ b/lib/load-configuration
@@ -29,6 +29,8 @@ fi
if [ "$(hostname)" = 'buildmaster.archlinux32.org' ]; then
i_am_the_master=true
+
+ releng_directory="${work_dir}/repos/releng"
else
i_am_the_master=false
@@ -128,9 +130,16 @@ fi
mkdir -p "${work_dir}"
-for repo in ${repo_names}; do
+for repo in ${repo_names} 'releng'; do
- eval repo_path='"${repo_paths__'"${repo}"'}"'
+ if [ "${repo}" = 'releng' ]; then
+ if [ -z "${releng_directory}" ]; then
+ continue
+ fi
+ repo_path="${releng_directory}"
+ else
+ eval repo_path='"${repo_paths__'"${repo}"'}"'
+ fi
mkdir -p "${repo_path%/*}"