aboutsummaryrefslogtreecommitdiff
path: root/brep/handler
diff options
context:
space:
mode:
Diffstat (limited to 'brep/handler')
-rw-r--r--brep/handler/ci/ci-load.in10
-rw-r--r--brep/handler/handler.bash.in4
-rw-r--r--brep/handler/submit/submit-git.bash.in2
-rw-r--r--brep/handler/submit/submit-git.in6
4 files changed, 11 insertions, 11 deletions
diff --git a/brep/handler/ci/ci-load.in b/brep/handler/ci/ci-load.in
index f471a84..0a16e8c 100644
--- a/brep/handler/ci/ci-load.in
+++ b/brep/handler/ci/ci-load.in
@@ -202,10 +202,10 @@ while [ "$more" ]; do
while IFS=: read -ru "$manifest_parser_ofd" -d '' n v; do
case "$n" in
"") # Start of (next) manifest.
- more=true
- manifest_version="$v"
- break
- ;;
+ more=true
+ manifest_version="$v"
+ break
+ ;;
name) name="$v" ;;
version) version="$v" ;;
@@ -278,7 +278,7 @@ manifest_serializer_start "$cache_dir/packages.manifest"
for ((i=0; i <= ${#packages_manifest_names[@]}; ++i)); do
manifest_serialize "${packages_manifest_names[$i]}" \
- "${packages_manifest_values[$i]}"
+ "${packages_manifest_values[$i]}"
done
manifest_serializer_finish
diff --git a/brep/handler/handler.bash.in b/brep/handler/handler.bash.in
index 81ab08f..2e66afc 100644
--- a/brep/handler/handler.bash.in
+++ b/brep/handler/handler.bash.in
@@ -68,9 +68,9 @@ function trace_cmd () # <cmd> <arg>...
local s="+"
while [ $# -gt 0 ]; do
if [ -z "$1" -o -z "${1##* *}" ]; then
- s="$s '$1'"
+ s="$s '$1'"
else
- s="$s $1"
+ s="$s $1"
fi
shift
diff --git a/brep/handler/submit/submit-git.bash.in b/brep/handler/submit/submit-git.bash.in
index ec4d944..a36164c 100644
--- a/brep/handler/submit/submit-git.bash.in
+++ b/brep/handler/submit/submit-git.bash.in
@@ -85,7 +85,7 @@ function check_package_duplicate () # <name> <version> <repo-dir>
f="$(run find "$d" -name "$nam-$ver.*")"
if [ -n "$f" ]; then
- trace "found: $f"
+ trace "found: $f"
exit_with_manifest 422 "duplicate submission"
fi
fi
diff --git a/brep/handler/submit/submit-git.in b/brep/handler/submit/submit-git.in
index e70d100..5f95b7f 100644
--- a/brep/handler/submit/submit-git.in
+++ b/brep/handler/submit/submit-git.in
@@ -294,7 +294,7 @@ fi
# connectivity with the remote repository.
#
git_http_timeout=("-c" "http.lowSpeedLimit=1" \
- "-c" "http.lowSpeedTime=$git_timeout")
+ "-c" "http.lowSpeedTime=$git_timeout")
# Parse the submission request manifest and obtain the required values.
#
@@ -466,7 +466,7 @@ for i in {1..11}; do
# 'project' auth state.
#
if [ "$a" != "unknown" ]; then
- auth="$a"
+ auth="$a"
fi
fi
@@ -562,7 +562,7 @@ for i in {1..11}; do
ctl="$(repository_base "$control")"
create_owner_manifest \
- "$project" "$author_name" "$author_email" "$ctl" "$prj_man"
+ "$project" "$author_name" "$author_email" "$ctl" "$prj_man"
# Add the project owners manifest file to git repository using the path
# relative to the repository directory.