index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-01 09:15:42 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-01 09:15:42 +0100 |
commit | 305a85e6aefe2cfe2fd283c96f761f6c67083ba0 (patch) | |
tree | a16cab00d0f9cdb3e9c9754b45b39ccb962c4c6c /bin/sanity-check | |
parent | 4faad3f74c7930494fb4251173fad69274a8a96f (diff) |
-rwxr-xr-x | bin/sanity-check | 10 |
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 | \ |