From 4d289c1d38a240b6e7f5a2a3c805bbb82c459ae9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 6 Feb 2018 21:24:43 +0100 Subject: bin/show-dependencies: build-list packages should have higher priority than staging packages --- bin/show-dependencies | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bin/show-dependencies') 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' < \ -- cgit v1.2.3-70-g09d2