Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-07-14 21:56:03 +0200
committerErich Eckner <git@eckner.net>2017-07-14 21:56:03 +0200
commiteb86441458f3d3ea0c289e099ab6a58c4731f1bd (patch)
treef32d1af644da91645abca0b94c3a0167e9c8682e
parent8c027759cd8e7f9a0ab9b189f5d871c0a6ed23d0 (diff)
bin/seed-build-list, bin/build-master-status: repair some occurences of "build-list"
-rwxr-xr-xbin/build-master-status4
-rwxr-xr-xbin/seed-build-list3
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index 14939ba..62fc6e0 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -103,8 +103,8 @@ tasks="$(
"${work_dir}/build-list"
)" || true
pending_packages="$(
- tr ' ' '.' < \
- "${work_dir}"/build-list | \
+ grep '^\S\+ \S\+ \S\+ \S\+$' "${work_dir}/build-list" | \
+ tr ' ' '.' | \
while read -r package; do
generate_package_metadata "${package}" &> /dev/null
cat "${work_dir}/package-infos/${package%.*}.packages"
diff --git a/bin/seed-build-list b/bin/seed-build-list
index cf147c6..af85904 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -249,7 +249,8 @@ if ${update}; then
fi
# ignore packages already on the build list
-awk '{print "old " $1 " " $2 " " $3 " " $4 " " $1}' "${work_dir}/build-list" > \
+grep -vxF 'break_loops' "${work_dir}/build-list" | \
+ awk '{print "old " $1 " " $2 " " $3 " " $4 " " $1}' > \
"${tmp_dir}/build-list.old"
# ignore packages on the deletion-list