index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/show-dependencies | 15 |
diff --git a/bin/show-dependencies b/bin/show-dependencies index 08a500b..be16dbc 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -234,6 +234,21 @@ for target_package in "$@"; do sed ' s|^\(\S\+ \S\+\) |\1\n| ' + # staging -> something -> staging + join -1 1 -2 1 -o 1.1,1.2 \ + "${tmp_dir}/known-connections.sorted.1" \ + "${tmp_dir}/done-packages" | \ + sort -k2,2 | \ + join -1 2 -2 1 -o 1.1,1.2,2.1,2.2 \ + - \ + "${tmp_dir}/known-connections.sorted.1" | \ + sort -k4,4 | \ + join -1 4 -2 1 -o 1.1,1.2,1.3,1.4 \ + - \ + "${tmp_dir}/done-packages" | \ + sed ' + s|^\(\S\+ \S\+\) |\1\n| + ' # build-list -> something -> staging join -1 1 -2 1 -o 1.1,1.2 \ "${tmp_dir}/known-connections.sorted.1" \ |