diff options
author | Erich Eckner <git@eckner.net> | 2018-02-17 20:27:43 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-17 20:27:43 +0100 |
commit | 33f10c6217830fd2430429da1d7f2d7a451522be (patch) | |
tree | d2e994e9a265a991456af82df9a79a4c58afa33a /bin/get-package-updates | |
parent | 568b87eba56a6fb4f05be0410a8f04a2341c8628 (diff) | |
download | builder-33f10c6217830fd2430429da1d7f2d7a451522be.tar.xz |
bin/get-package-updates: save correct revisions in database
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-x | bin/get-package-updates | 2 |
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 |