summaryrefslogtreecommitdiff
path: root/bin/get-assignment
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/get-assignment
parent8601cfbc675a80160118ada110eb0988f7ae3c59 (diff)
downloadbuilder-93d2b2ee8ae79b565d57f1692f96f37695ef8b39.tar.xz
remove unnecessary and confusing quotes
Diffstat (limited to 'bin/get-assignment')
-rwxr-xr-xbin/get-assignment8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/get-assignment b/bin/get-assignment
index 1b2a00d..08c7be3 100755
--- a/bin/get-assignment
+++ b/bin/get-assignment
@@ -157,11 +157,11 @@ done
# Find package (of all packages which are not locked and have been broken the least times)
# which breaks the most unlocked loops
-locked_packages="$(
+locked_packages=$(
ls "${work_dir}/package-states/" | \
grep '\(\.[0-9a-f]\{40\}\)\{2\}\.[^\.\]\+\.locked$' | \
sed 's|\(\.[0-9a-f]\{40\}\)\{2\}\.[^\.\]\+\.locked$||'
-)"
+)
grep -vxF 'break_loops' "${work_dir}/build-list" | \
sort -k1,1 > \
@@ -189,10 +189,10 @@ for package in $(
"${work_dir}/build-list.sorted-by-package" | \
while read -r count package git_revision git_mod_revision repository; do
if [ -f "${work_dir}/package-states/${package}.${git_revision}.${git_mod_revision}.${repository}.broken" ]; then
- trials="$(
+ trials=$(
wc -l < \
"${work_dir}/package-states/${package}.${git_revision}.${git_mod_revision}.${repository}.broken"
- )"
+ )
else
trials='0'
fi