From a7daeeb2c73cdf2eaa3377ce972b5ec17a8e47a1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Fri, 23 Feb 2018 13:53:45 +0100 Subject: bin/return-assignment: bugfix :-/ --- bin/return-assignment | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'bin/return-assignment') diff --git a/bin/return-assignment b/bin/return-assignment index 72981bb..ab4f033 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -307,7 +307,7 @@ tar -x \ '*.pkg.tar.xz' \ '*.pkg.tar.xz.sig' \ '*.pkg.tar.xz-namcap.log.gz' \ - '*.pkg.tar.xz.so.provides' + '*.pkg.tar.xz.so.provides.gz' # check if all packages come with: # - a package file @@ -325,7 +325,7 @@ missing_files=$( -printf '%f signature\n' \ \) -o \ \( \ - -name '*.pkg.tar.xz-namcap.log' \ + -name '*.pkg.tar.xz-namcap.log.gz' \ -printf '%f namcap\n' \ \) -o \ \( \ @@ -333,7 +333,10 @@ missing_files=$( -printf '%f provided-libraries\n' \ \) \ \) | \ - sort -k1,1 -k2,2 | \ + sed ' + s/\(\.pkg\.tar\.xz\)\(\.sig\|-namcap\.log\.gz\|\.so\.provides\.gz\) /\1 / + ' | \ + sort -k1,1 -k2,2 | tee /dev/stderr | \ sed ' :a $!N @@ -364,7 +367,7 @@ missing_files=$( } / provided-libraries /!{ h - s/^\(\S\+\) .*$/List of by "\1" provided libraries is missing./ + s/^\(\S\+\) .*$/List of libraries provided by "\1" is missing./ p g } -- cgit v1.2.3-70-g09d2