Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rwxr-xr-xconf/default.conf8
1 files changed, 4 insertions, 4 deletions
diff --git a/conf/default.conf b/conf/default.conf
index 730481d..bb39d8e 100755
--- a/conf/default.conf
+++ b/conf/default.conf
@@ -7,9 +7,9 @@ export LANG=C
# dirty hack to get this stuff debugable from a bash
if [ "x${0##*/}" = "x-bash" ] || [ "x${0##*/}" = "xbash" ] || [ "x${0##*/}" = "xdash" ]; then
- base_dir="$(pwd)"
+ base_dir=$(pwd)
else
- base_dir="$(dirname "$(readlink -f "$0")")/.."
+ base_dir=$(printf '%s/..' "$(dirname "$(readlink -f "$0")")")
fi
. "${base_dir}/bin/common-functions"
@@ -42,14 +42,14 @@ master_mirror_sftp_commend='sftp -b- user@mirror'
build_log_directory='/srv/http/build-logs'
# what should be tried in what order to somehow repair a broken build
-straws_that_might_repair_failing_builds="$(
+straws_that_might_repair_failing_builds=$(
printf '%s\n' \
':' \
':clean_chroot:' \
':mirrored_source:' \
':with_build_support:' \
':with_build_support:clean_chroot:'
-)"
+)
# root directory of the webserver
webserver_directory='/srv/http'