From 93d2b2ee8ae79b565d57f1692f96f37695ef8b39 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 2 Aug 2017 14:32:30 +0200 Subject: remove unnecessary and confusing quotes --- bin/get-assignment | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin/get-assignment') 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 -- cgit v1.2.3-54-g00ecf