diff options
author | Erich Eckner <git@eckner.net> | 2017-11-11 20:41:15 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-11 20:41:15 +0100 |
commit | da241cfde2d6a841a841288081d7ef82993fbaed (patch) | |
tree | 9209b6be25dbe4a54687d2db25fbfcaa24d5a4a0 /bin | |
parent | 6a5295781b621b2341bf685206040649ad67bb9a (diff) | |
download | builder-da241cfde2d6a841a841288081d7ef82993fbaed.tar.xz |
bin/show-dependencies: show dependencies from staging to staging
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/show-dependencies | 15 |
1 files changed, 15 insertions, 0 deletions
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" \ |