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>2017-06-27 09:53:43 +0200
committerErich Eckner <git@eckner.net>2017-06-27 09:53:43 +0200
commit5f41f8c2ad892465c894c705b6a8b3180fa429b9 (patch)
treefdafd1c81e187601d316bbdd98462550e60caf50 /bin
parentcc334de8754a35904e4c58348302effe23c4e9e0 (diff)
bin/return-assignment: be more verbose about what package was missed and what package was not expected
Diffstat (limited to 'bin')
-rwxr-xr-xbin/return-assignment10
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/return-assignment b/bin/return-assignment
index 8e24ed8..b4d4e3a 100755
--- a/bin/return-assignment
+++ b/bin/return-assignment
@@ -161,11 +161,15 @@ package_errors="$(
/ any$/{
s|any$|i686|
}
+ s|^|was_built: |
'
- sed 's|$| i686|' "${work_dir}/package-infos/$1.$2.$3.packages"
+ sed '
+ s|$| i686|
+ s|^|expected: |
+ ' "${work_dir}/package-infos/$1.$2.$3.packages"
) | \
- sort | \
- uniq -u
+ sort -k2 | \
+ uniq -u -f1
)"
if [ -n "${package_errors}" ]; then