summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rwxr-xr-xconf/default.conf6
1 files changed, 3 insertions, 3 deletions
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}"