Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/seed-build-list11
1 files changed, 9 insertions, 2 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 2cabe38..75e450d 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -177,7 +177,9 @@ if [ -s "${tmp_dir}/mirrors" ]; then
N
s/^.*\n//
/^lib32-/d
- s/^\(.*-\)x86_64\(\.pkg\.tar\.xz\)$/\1i686\2\n\1i486\2/
+ s/^\(.*-\)x86_64\(\.pkg\.tar\.xz\)$/\1i486\2\n\1i686\2/
+ ' | \
+ sed '
s/^\(.*\)-\([^-]\+-[^-]\+\)-\([^-]\+\)$/theirs \2 \3 \1/
'
done
@@ -217,6 +219,9 @@ if [ -s "${tmp_dir}/mirrors" ]; then
"${tmp_dir}/pkgnames"
fi
+grep -HF '' "${tmp_dir}/pkgbases" "${tmp_dir}/pkgnames"
+exit 4
+
# harvest pkgnames from undelete-mirrors
if [ -s "${tmp_dir}/undelete-mirrors" ]; then
while read -r mirror; do
@@ -230,8 +235,10 @@ if [ -s "${tmp_dir}/undelete-mirrors" ]; then
/^%FILENAME%$/!d
N
s/^.*\n//
- s/^\(.*-\)x86_64\(\.pkg\.tar\.xz\)$/\1i686\2\n\1i486\2/
/^lib32-/d
+ s/^\(.*-\)x86_64\(\.pkg\.tar\.xz\)$/\1i486\2\n\1i686\2/
+ ' | \
+ sed '
s/^\(.*\)\(-[^-]\+\)\{3\}$/\1/
'
done