diff options
author | Erich Eckner <git@eckner.net> | 2018-03-14 15:09:58 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-03-14 15:09:58 +0100 |
commit | 569fbf690cee01f6ca1bb039b11a3d6e73de878f (patch) | |
tree | 1e22d781c6d6aa709e5e8be1a92830c015112bec /bin/seed-build-list | |
parent | 9d2577b5f5a23f41fb8af336e2a34cc96f63fb30 (diff) | |
download | builder-569fbf690cee01f6ca1bb039b11a3d6e73de878f.tar.xz |
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-x | bin/seed-build-list | 4 |
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 |