index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-11-01 10:28:05 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-11-01 10:28:05 +0100 |
commit | ad463afa2d41e42463476e43436eac224bac1de3 (patch) | |
tree | 3c51efa5929a02cbde5df72750b4843460d26edf /bin/seed-build-list | |
parent | 05a43c23b36c4b68a246bc69fa0d699a3ec469fb (diff) |
-rwxr-xr-x | bin/seed-build-list | 8 |
diff --git a/bin/seed-build-list b/bin/seed-build-list index 0428e27..b865b0c 100755 --- a/bin/seed-build-list +++ b/bin/seed-build-list @@ -151,7 +151,7 @@ while read -r mirror; do if [ -z "${mirror}" ]; then continue fi - ( + { # theirs for repo in ${repos}; do curl -sS "${mirror}/${repo}/os/x86_64/${repo}.db.tar.gz" | \ @@ -172,7 +172,7 @@ while read -r mirror; do sed ' s|^\(.*\)-\([^-]\+-[^-]\+\)|ours \1-\2 \2 \1| ' - ) | \ + } | \ expand_version 3 | \ sort -k4,4 -k3Vr,3 -k1,1 | \ shrink_version 3 | \ @@ -190,10 +190,10 @@ sort -k1,1 -u "${tmp_dir}/delta-packages" | \ join -1 1 -2 5 -o 2.1,2.2,2.3,2.4,2.5 "${tmp_dir}/delta-packages" "${tmp_dir}/known-packages" >> \ "${tmp_dir}/append-packages" -( +{ awk '{print $5}' "${tmp_dir}/append-packages" cat "${tmp_dir}/delta-packages" -) | \ +} | \ sort | \ uniq -u | \ sponge "${tmp_dir}/delta-packages" |