summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-11-01 10:28:05 +0100
committerErich Eckner <git@eckner.net>2017-11-01 10:28:05 +0100
commitad463afa2d41e42463476e43436eac224bac1de3 (patch)
tree3c51efa5929a02cbde5df72750b4843460d26edf /bin/seed-build-list
parent05a43c23b36c4b68a246bc69fa0d699a3ec469fb (diff)
downloadbuilder-ad463afa2d41e42463476e43436eac224bac1de3.tar.xz
() -> {}
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list8
1 files changed, 4 insertions, 4 deletions
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"