Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-06 21:24:43 +0100
committerErich Eckner <git@eckner.net>2018-02-06 21:24:43 +0100
commit4d289c1d38a240b6e7f5a2a3c805bbb82c459ae9 (patch)
tree22fb1bc25dd94b9172ae1647123ed98b22cfe97c /bin
parent31dfe057f9b5667991f3c7809a13a87485f32ac6 (diff)
bin/show-dependencies: build-list packages should have higher priority than staging packages
Diffstat (limited to 'bin')
-rwxr-xr-xbin/show-dependencies10
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' < \