diff options
-rwxr-xr-x | bin/show-dependencies | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/show-dependencies b/bin/show-dependencies index 23e8e5f..0a7a1fd 100755 --- a/bin/show-dependencies +++ b/bin/show-dependencies @@ -218,7 +218,7 @@ for target_package in "$@"; do sed 's|\(\.[^.]\+\)\{4\}$||' | \ sort -u | \ tee "${tmp_dir}/done-packages" | \ - sed 's|^|0 staging-package |' > \ + xargs -r printf '4 staging-package %s\n' > \ "${tmp_dir}/knots" { @@ -357,7 +357,7 @@ for target_package in "$@"; do } | \ sort | \ uniq -d | \ - xargs -r printf '4 deletion-list-package %s\n' >> \ + xargs -r printf '5 deletion-list-package %s\n' >> \ "${tmp_dir}/knots" { @@ -369,7 +369,7 @@ for target_package in "$@"; do } | \ sort | \ uniq -d | \ - xargs -r printf '5 split-package %s\n' >> \ + xargs -r printf '6 split-package %s\n' >> \ "${tmp_dir}/knots" { @@ -380,7 +380,7 @@ for target_package in "$@"; do } | \ sort | \ uniq -d | \ - xargs -r printf '6 package %s\n' >> \ + xargs -r printf '7 package %s\n' >> \ "${tmp_dir}/knots" { @@ -392,7 +392,7 @@ for target_package in "$@"; do } | \ sort | \ uniq -d | \ - xargs -r printf '7 group %s\n' >> \ + xargs -r printf '8 group %s\n' >> \ "${tmp_dir}/knots" tr ' ' '\n' < \ |