index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2023-04-17 20:17:22 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2023-04-17 20:17:22 +0200 |
commit | 1e73a512b4e04e3d525afe1a1d6d6f7abdbead87 (patch) | |
tree | 2269f8c216e8e53a89d77d6551ebcb4878e3499c | |
parent | bcb5c2b1c7eda316b9c39c75cd530d94437cecf5 (diff) |
-rwxr-xr-x | bin/return-assignment | 25 |
diff --git a/bin/return-assignment b/bin/return-assignment index cefada5..892aac8 100755 --- a/bin/return-assignment +++ b/bin/return-assignment @@ -960,6 +960,31 @@ if [ -n "${errors}" ]; then exit 1 fi +some_architecture=$( + ls \ + | sed ' + s/^.*-\([^-]\+\)\.pkg\.\('"${package_compression_suffix_regex}"'\)$/\1/ + t + d + ' \ + | sort -u \ + | sed ' + s/^any$/0 \0/ + t + s/^/1 \0/ + ' \ + | sort -k1n,1 \ + | tail -n1 \ + | cut -d' ' -f2 +) + +for build_log in *.build-log.gz; do + [ -f "${build_log}" ] || continue; + mv -n \ + "${build_log}" \ + "${build_log_directory}/success/$1.$2.$3.$4.${some_architecture}.${build_log##*/}" +done + join -1 2 -2 2 -o 1.1,1.2,2.1 "${tmp_dir}/package-ids" "${tmp_dir}/signing-keys" \ | sponge "${tmp_dir}/package-ids" |