diff options
author | Erich Eckner <git@eckner.net> | 2018-02-23 13:53:45 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-23 13:53:45 +0100 |
commit | a7daeeb2c73cdf2eaa3377ce972b5ec17a8e47a1 (patch) | |
tree | b9431f58b116e77a036ee1ab2927bb7e78f57035 | |
parent | 9e612bcdf9fd521cde2873ea8c5368e05c1dbb46 (diff) | |
download | builder-a7daeeb2c73cdf2eaa3377ce972b5ec17a8e47a1.tar.xz |
bin/return-assignment: bugfix :-/
-rwxr-xr-x | bin/return-assignment | 11 |
1 files changed, 7 insertions, 4 deletions
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 } |