Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/seed-build-list
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-03-14 15:09:58 +0100
committerErich Eckner <git@eckner.net>2018-03-14 15:09:58 +0100
commit569fbf690cee01f6ca1bb039b11a3d6e73de878f (patch)
tree1e22d781c6d6aa709e5e8be1a92830c015112bec /bin/seed-build-list
parent9d2577b5f5a23f41fb8af336e2a34cc96f63fb30 (diff)
bin/seed-build-list: insert into build-list _after_ inserting into database - in case something goes wrong
Diffstat (limited to 'bin/seed-build-list')
-rwxr-xr-xbin/seed-build-list4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/seed-build-list b/bin/seed-build-list
index 0ede139..2edf041 100755
--- a/bin/seed-build-list
+++ b/bin/seed-build-list
@@ -348,11 +348,11 @@ printf 'CREATE TEMPORARY TABLE `pkgbases` (`pkgbase` VARCHAR(64), `repository` V
flock -s 8
while read -r pkgbase git_rev mod_git_rev repo; do
- printf '%s %s %s %s\n' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" >> \
- "${work_dir}/build-list"
printf '%s ' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" >&2
generate_package_metadata "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}"
mysql_generate_package_metadata 'build-list' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}"
+ printf '%s %s %s %s\n' "${pkgbase}" "${git_rev}" "${mod_git_rev}" "${repo}" >> \
+ "${work_dir}/build-list"
printf '\n' >&2
done