summaryrefslogtreecommitdiff
path: root/bin/sanity-check
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 09:15:42 +0100
committerErich Eckner <git@eckner.net>2017-11-01 09:15:42 +0100
commit305a85e6aefe2cfe2fd283c96f761f6c67083ba0 (patch)
treea16cab00d0f9cdb3e9c9754b45b39ccb962c4c6c /bin/sanity-check
parent4faad3f74c7930494fb4251173fad69274a8a96f (diff)
downloadbuilder-305a85e6aefe2cfe2fd283c96f761f6c67083ba0.tar.xz
remove residues of break_loop concerning
Diffstat (limited to 'bin/sanity-check')
-rwxr-xr-xbin/sanity-check10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/sanity-check b/bin/sanity-check
index 700301c..37e2cd3 100755
--- a/bin/sanity-check
+++ b/bin/sanity-check
@@ -141,7 +141,7 @@ while [ $# -gt 0 ]; do
"${tmp_dir}/messages"
errors=$(
- grep -vn '^\S\+ [0-9a-f]\{40\} [0-9a-f]\{40\} \S\+$\|^break_loops$' "${work_dir}/build-list"
+ grep -vn '^\S\+ [0-9a-f]\{40\} [0-9a-f]\{40\} \S\+$' "${work_dir}/build-list"
) || true
if [ -n "${errors}" ]; then
if [ ${silence} -le 1 ]; then
@@ -153,8 +153,8 @@ while [ $# -gt 0 ]; do
fi
errors=$(
- grep -vxF 'break_loops' "${work_dir}/build-list" | \
- awk '{print $1}' | \
+ cut -d' ' -f1 < \
+ "${work_dir}/build-list" | \
sort | \
uniq -d
)
@@ -169,8 +169,8 @@ while [ $# -gt 0 ]; do
errors=$(
(
- grep -vxF 'break_loops' "${work_dir}/build-list" | \
- awk '{print $1}'
+ cut -d' ' -f1 < \
+ "${work_dir}/build-list"
cat "${work_dir}/deletion-list"
) | \
sort | \