index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/load-configuration | 13 |
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%/*}" |