Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
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