summaryrefslogtreecommitdiff
path: root/bin/cleanup
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/cleanup
parent294c66ccc56ee6200b288585833cae1d1bfc3ea8 (diff)
downloadbuilder-c9f55c95cb382e22c41a310c1005e3de43379ae9.tar.xz
style: WHERE,ON,FROM,SELECT,JOIN should be on beginning of source lines
Diffstat (limited to 'bin/cleanup')
-rwxr-xr-xbin/cleanup5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/cleanup b/bin/cleanup
index 56d88cb..64f0689 100755
--- a/bin/cleanup
+++ b/bin/cleanup
@@ -24,7 +24,10 @@ fi
{
find "${build_log_directory}/error" -maxdepth 1 -type f -printf 'file %f\n'
# shellcheck disable=SC2016
- printf 'SELECT "mysql",`failed_builds`.`log_file` FROM `failed_builds`;\n' | \
+ {
+ printf 'SELECT "mysql",`failed_builds`.`log_file`'
+ printf ' FROM `failed_builds`;\n'
+ } | \
mysql_run_query | \
tr '\t' ' '
} | \