index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-14 16:11:08 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-14 16:11:08 +0200 |
commit | 6c9ef1ccaca1763d6a9e46c71ed9c67f6139c5bc (patch) | |
tree | e1d1bf6f08fc8d0c6486bed5590fda3d1f9b3946 /conf | |
parent | f25f9462a68a968a676d555613cdfa6e7516cad1 (diff) |
-rwxr-xr-x | conf/default.conf | 6 |
diff --git a/conf/default.conf b/conf/default.conf index 947196f..1f75bd9 100755 --- a/conf/default.conf +++ b/conf/default.conf @@ -6,7 +6,7 @@ set -e export LANG=C # dirty hack to get this stuff debugable from a bash -if [ "x$0" == "x-bash" ] || [ "x$0" == "xbash" ]; then +if [ "x$0" = "x-bash" ] || [ "x$0" = "xbash" ]; then base_dir="$(pwd)" else base_dir="$(dirname "$(readlink -f "$0")")/.." @@ -56,7 +56,7 @@ for repo in "${!repo_paths[@]}"; do mkdir -p "${repo_paths["${repo}"]%/*}" if [ ! -d "${repo_paths["${repo}"]}/.git" ]; then - if [ "${repo}" == "archlinux32" ]; then + if [ "${repo}" = "archlinux32" ]; then repo_source='git@github.com:archlinux32/packages.git' else repo_source="git://git.archlinux.org/svntogit/${repo}.git" @@ -66,7 +66,7 @@ for repo in "${!repo_paths[@]}"; do done -if [ "${master_build_server_identity}" == "${work_dir}/.ssh/id_rsa" ] && \ +if [ "${master_build_server_identity}" = "${work_dir}/.ssh/id_rsa" ] && \ [ ! -f "${master_build_server_identity}" ]; then mkdir -p "${master_build_server_identity%/*}" ssh-keygen -b4096 -f "${master_build_server_identity}" |