From 5f41f8c2ad892465c894c705b6a8b3180fa429b9 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 27 Jun 2017 09:53:43 +0200 Subject: bin/return-assignment: be more verbose about what package was missed and what package was not expected --- bin/return-assignment | 10 +++++++--- 1 file 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 -- cgit v1.2.3-70-g09d2