index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | conf/default.conf | 10 |
diff --git a/conf/default.conf b/conf/default.conf index daaf31c..6f3026a 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -18,8 +18,14 @@ work_dir="${base_dir}/work" # shellcheck source=../lib/common-functions . "${base_dir}/lib/common-functions" -# shellcheck source=../lib/mysql-functions -. "${base_dir}/lib/mysql-functions" + +# if mysqld is not running, we're either on a build slave and don't need +# lib/mysql-functions or we're on the build master and something is wrong +# anyway +if pgrep -x mysqld >/dev/null 2>&1; then + # shellcheck source=../lib/mysql-functions + . "${base_dir}/lib/mysql-functions" +fi repo_names='packages community archlinux32' repo_paths__packages="${work_dir}/repos/packages" |