summaryrefslogtreecommitdiff
path: root/bin/build-packages
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-08-02 14:32:30 +0200
committerErich Eckner <git@eckner.net>2017-08-02 14:32:30 +0200
commit93d2b2ee8ae79b565d57f1692f96f37695ef8b39 (patch)
treebd42cc7643b7bd5ceaff1327d25cb22e0a48486f /bin/build-packages
parent8601cfbc675a80160118ada110eb0988f7ae3c59 (diff)
downloadbuilder-93d2b2ee8ae79b565d57f1692f96f37695ef8b39.tar.xz
remove unnecessary and confusing quotes
Diffstat (limited to 'bin/build-packages')
-rwxr-xr-xbin/build-packages12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/build-packages b/bin/build-packages
index c54f34e..fc3a205 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -105,13 +105,13 @@ while [ ${count} -ne 0 ]; do
fi
err=0
- package="$(
+ package=$(
ssh \
-i "${master_build_server_identity}" \
-p "${master_build_server_port}" \
"${master_build_server_user}@${master_build_server}" \
'get-assignment'
- )" || err=$?
+ ) || err=$?
case ${err} in
@@ -133,7 +133,7 @@ while [ ${count} -ne 0 ]; do
git -C "${repo_path}" fetch
done
- git_repo="$(find_repository_with_commit "${git_revision}")"
+ git_repo=$(find_repository_with_commit "${git_revision}")
find_pkgbuilds "${package}" "${repository}" "${git_repo}" "${git_revision}" "${mod_git_revision}"
@@ -146,7 +146,7 @@ while [ ${count} -ne 0 ]; do
recursively_umount_and_rm "${tmp_dir}"
exit ${err}
}
- tmp_dir="$(mktemp -d "${work_dir}/tmp.XXXXXX")"
+ tmp_dir=$(mktemp -d "${work_dir}/tmp.XXXXXX")
trap bail_out EXIT
extract_source_directory "${git_repo}" "${git_revision}" "${mod_git_revision}" "${tmp_dir}"
@@ -159,7 +159,7 @@ while [ ${count} -ne 0 ]; do
grep -qF ':mirrored_source:'; then
# maybe a missing source is/was the problem?
# try to download them from sources.archlinux.org/sources/$repo/$source
- source_name="$(
+ source_name=$(
makepkg --printsrcinfo | \
sed -n '
/^\s*\(epoch\|pkg\(base\|ver\|rel\)\) = /{s|^\s\+||;p}
@@ -179,7 +179,7 @@ while [ ${count} -ne 0 ]; do
s|\n[0-9] ||
ta
'
- )"
+ )
if ! wget -nc -nd "https://sources.archlinux.org/sources/${git_repo}/${source_name}"; then
# we can't improve anything
continue