summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-09-14 09:28:33 +0200
committerErich Eckner <git@eckner.net>2017-09-14 09:28:33 +0200
commit31af8b7c9f0cc18830b873629294f656c41efcd7 (patch)
treebe441e25b5339af82d4cc0b15446fe04f5159b69
parent5c654c56e3e5d0c6561d481769103254a11628d2 (diff)
downloadbuilder-31af8b7c9f0cc18830b873629294f656c41efcd7.tar.xz
bin/build-master-status: small cleanup
-rwxr-xr-xbin/build-master-status6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 758fbb3..1f76a99 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -120,9 +120,9 @@ testing=$(
fi
done
(
- find "${work_dir}/build-list.loops" -maxdepth 1 | \
- grep '/loop_[0-9]\+$' | \
- xargs -r cat | \
+ find "${work_dir}/build-list.loops" -maxdepth 1 -regextype grep \
+ -regex '.*/loop_[0-9]\+' \
+ -exec cat {} \; | \
sort -u
find "${work_dir}/package-states/" -maxdepth 1 -name '*.broken' -printf '%f\n' | \
sed 's|\(\.[^.]\+\)\{4\}||' | \