index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/nit-picker | 6 |
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' } \ |