index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-16 10:24:52 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-16 10:24:52 +0200 |
commit | 1dcb91614f41848b3da01113fe3356b548304bc3 (patch) | |
tree | c4b63fe9fc7f27b73a27460544ae2da03685d77d /bin/return-assignment | |
parent | eb7164898f731c2c50e849048ce2f4c561017db5 (diff) |
-rwxr-xr-x | bin/return-assignment | 11 |
diff --git a/bin/return-assignment b/bin/return-assignment index af6b728..00d4cd4 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -115,13 +115,18 @@ if [ -n "${signature_errors}" ]; then fi # check if the sent packages are the expected ones -packages=*.pkg.tar.xz +packages="$( + ls -1 | \ + grep '\.pkg\.tar\.xz$' +)" package_errors="$( ( printf '%s\n' ${packages} | \ sed ' - s@\(-[^-]\+\)\{2\}-\([^-]\+\)\.pkg\.tar\.xz@ \2@ - / any$/{s|any$|i686|} + s@\(-[^-]\+\)\{2\}-\([^-]\+\)\.pkg\.tar\.xz$@ \2@ + / any$/{ + s|any$|i686| + } ' sed 's|$| i686|' "${work_dir}/package-infos/$1.$2.$3.packages" ) | \ |