summaryrefslogtreecommitdiff
path: root/bin/get-package-updates
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-01-17 15:24:40 +0100
committerErich Eckner <git@eckner.net>2019-01-17 15:24:40 +0100
commitc9f55c95cb382e22c41a310c1005e3de43379ae9 (patch)
tree38210b816af5645dad7fad10b1de6a32fe89c76b /bin/get-package-updates
parent294c66ccc56ee6200b288585833cae1d1bfc3ea8 (diff)
downloadbuilder-c9f55c95cb382e22c41a310c1005e3de43379ae9.tar.xz
style: WHERE,ON,FROM,SELECT,JOIN should be on beginning of source lines
Diffstat (limited to 'bin/get-package-updates')
-rwxr-xr-xbin/get-package-updates3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin/get-package-updates b/bin/get-package-updates
index 622bd0b..9271c90 100755
--- a/bin/get-package-updates
+++ b/bin/get-package-updates
@@ -209,7 +209,8 @@ for repo in ${repo_names}; do
# shellcheck disable=SC2016
eval "old_repo_revisions__${repo}='$(
{
- printf 'SELECT `git_repositories`.`head` FROM `git_repositories`'
+ printf 'SELECT `git_repositories`.`head`'
+ printf ' FROM `git_repositories`'
printf ' WHERE `git_repositories`.`name`=from_base64("%s");\n' \
"$(printf '%s' "${repo}" | base64 -w0)"
} | \