Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/show-dependencies
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/show-dependencies
parent4faad3f74c7930494fb4251173fad69274a8a96f (diff)
remove residues of break_loop concerning
Diffstat (limited to 'bin/show-dependencies')
-rwxr-xr-xbin/show-dependencies14
1 files changed, 6 insertions, 8 deletions
diff --git a/bin/show-dependencies b/bin/show-dependencies
index 575350c..a4ad4f7 100755
--- a/bin/show-dependencies
+++ b/bin/show-dependencies
@@ -48,8 +48,8 @@ if [ $# -eq 0 ]; then
cat "${tmp_dir}/broken"
) | \
sort -u
- grep -vxF 'break_loops' "${work_dir}/build-list" | \
- awk '{print $1}' | \
+ cut -d' ' -f1 < \
+ "${work_dir}/build-list" | \
sort -u
) | \
sort | \
@@ -72,8 +72,8 @@ if [ $# -eq 0 ]; then
find "${webserver_directory}/graphs" -maxdepth 1 -name '*.png' -printf '%f\n' | \
sed 's|\.png$||'
(
- grep -vxF 'break_loops' "${work_dir}/build-list" | \
- awk '{print $1}'
+ cut -d' ' -f1 < \
+ "${work_dir}/build-list"
cat "${work_dir}/deletion-list"
) | \
sort -u
@@ -125,8 +125,7 @@ sort -u "${work_dir}/build-order" | \
grep '^\S\+ \S\+$' > \
"${tmp_dir}/original-build-order"
-grep -vxF 'break_loops' "${work_dir}/build-list" | \
- sort -k1,1 > \
+sort -k1,1 "${work_dir}/build-list" > \
"${tmp_dir}/build-list.sorted-by-package"
(
@@ -175,8 +174,7 @@ for target_package in "$@"; do
sort -k1,1 "${tmp_dir}/original-build-order" | \
join -1 1 -2 1 -o 2.1 - "${tmp_dir}/relevant-stuff"
# build list jobs themself
- grep -vxF 'break_loops' "${work_dir}/build-list" | \
- awk '{print $1}'
+ cut -d' ' -f1 < "${work_dir}/build-list"
) | \
sort -u | \
sponge "${tmp_dir}/relevant-stuff"