index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2019-10-15 15:03:36 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-10-15 15:03:36 +0200 |
commit | 1eac7eaa02f474e470d35c79ca4ff4b97cf56db0 (patch) | |
tree | 70012b6f9186d537bbdef3c7205a717690b84752 /bin/nit-picker | |
parent | 28cd7831f0515410d7815aec1893a5b51af2ba62 (diff) |
-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' } \ |