index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-08-02 11:28:03 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-08-02 11:28:03 +0200 |
commit | 471aac0e751cb2c85ddd0682fde000e9f4406a58 (patch) | |
tree | f2a2f1344f75222daf16b913c19f9f0cf3b97dea | |
parent | d6c589c2db1a56bea53213355f05b2fdef585217 (diff) |
-rwxr-xr-x | bin/show-dependencies | 14 |
diff --git a/bin/show-dependencies b/bin/show-dependencies index fbd15ce..6c1d80f 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -225,11 +225,15 @@ for target_package in "$@"; do line_count="$(wc -l < "${tmp_dir}/input")" if [ "${line_count}" -gt 500 ]; then - rm -f "${output}" - >&2 printf 'Skipping graph for "%s" - would be too big (%d).\n' \ - "${target_package}" \ - "${line_count}" - continue + sed -i '/"base\(-devel\)\?"/d' "${tmp_dir}/input" + line_count="$(wc -l < "${tmp_dir}/input")" + if [ "${line_count}" -gt 600 ]; then + rm -f "${output}" + >&2 printf 'Skipping graph for "%s" - would be too big (%d).\n' \ + "${target_package}" \ + "${line_count}" + continue + fi fi printf 'small enough (%s): %d\n' \ "${target_package}" \ |