Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/nit-picker6
1 files changed, 2 insertions, 4 deletions
diff --git a/bin/nit-picker b/bin/nit-picker
index eaec4ce..22ecdfd 100755
--- a/bin/nit-picker
+++ b/bin/nit-picker
@@ -469,13 +469,11 @@ if [ -s "${tmp_dir}/remove-those-dependencies" ]; then
printf ';\n'
} \
| mysql_run_query \
- | sponge "${tmp_dir}/remove-those-dependencies"
- # shellcheck disable=SC2016
- {
+ | {
printf 'DELETE `dependencies`'
printf ' FROM `dependencies`'
printf ' WHERE `dependencies`.`id` IN ('
- sed '$! s/$/,/' "${tmp_dir}/remove-those-dependencies" \
+ sed '$! s/$/,/' \
| tr -d '\n'
printf ');\n'
} \