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>2018-02-17 20:27:43 +0100
committerErich Eckner <git@eckner.net>2018-02-17 20:27:43 +0100
commit33f10c6217830fd2430429da1d7f2d7a451522be (patch)
treed2e994e9a265a991456af82df9a79a4c58afa33a
parent568b87eba56a6fb4f05be0410a8f04a2341c8628 (diff)
bin/get-package-updates: save correct revisions in database
-rwxr-xr-xbin/get-package-updates2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index e81d128..d516a96 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -595,7 +595,7 @@ fi
for repo in ${repo_names}; do
printf 'UPDATE `git_repositories`'
printf ' SET `git_repositories`.`head`=from_base64("%s")' \
- "$(eval 'printf '"'"'%s'"'"' "${repo_revisions__'"${repo}"'}" | base64 -w0')"
+ "$(eval 'printf '"'"'%s'"'"' "${new_repo_revisions__'"${repo}"'}" | base64 -w0')"
printf ' WHERE `git_repositories`.`name`=from_base64("%s");\n' \
"$(printf '%s' "${repo}" | base64 -w0)"
done