summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-09-24 10:10:27 +0200
committerErich Eckner <git@eckner.net>2018-09-24 10:10:27 +0200
commit5968de28c8c3e8c0fc2ef41773f4eb1ac13c5dda (patch)
tree71eba9958fb6cfa2fc311b0a47754677e8772c7a /bin/get-package-updates
parentda1828e8b0bccc24b8be912d6804460e8e9d4afa (diff)
downloadbuilder-5968de28c8c3e8c0fc2ef41773f4eb1ac13c5dda.tar.xz
lib/mysql-functions: let `commit_time` unset in mysql_add_package_source() -- whoops, I forgot most of the files
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates8
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 18149f9..3d1c1e3 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -380,15 +380,11 @@ trigger_rebuild_on_any_file_sed_expression=$(
sort -k1,1 | \
sed 's|^[012] ||'
} | \
- while read -r mode package git_revision old_git_revision repository; do
- if [ "${old_git_revision}" = 'empty' ]; then
- old_git_revision=''
- fi
+ while read -r mode package git_revision _ repository; do
if [ "${mode}" = 'D' ]; then
# deleted PKGBUILD
# shellcheck disable=SC2154
git_revision="${new_repo_revisions__archlinux32}"
- old_git_revision=''
found_package=false
for repository in ${repo_names}; do
eval 'repo_path="${repo_paths__'"${repository}"'}"'
@@ -461,7 +457,7 @@ trigger_rebuild_on_any_file_sed_expression=$(
mysql_run_query
# shellcheck disable=SC2154
printf '%s ' "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}" >&2
- mysql_generate_package_metadata "${repository_ids__any_to_be_decided}" "${package}" "${git_revision}" "${old_git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
+ mysql_generate_package_metadata "${repository_ids__any_to_be_decided}" "${package}" "${git_revision}" "${new_repo_revisions__archlinux32}" "${repository}"
printf '\n' >&2
continue
fi