Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/delete-packages
diff options
context:
space:
mode:
Diffstat (limited to 'bin/delete-packages')
-rwxr-xr-xbin/delete-packages2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/delete-packages b/bin/delete-packages
index 8c3bc8f..7d2a3bd 100755
--- a/bin/delete-packages
+++ b/bin/delete-packages
@@ -96,6 +96,8 @@ fi
tmp_dir=$(mktemp -d "${work_dir}/tmp.delete-packages.XXXXXXXXXX")
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
+export TMPDIR="${tmp_dir}"
+
# shellcheck disable=SC2016
{
printf 'CREATE TEMPORARY TABLE `to_deletes` (`id` BIGINT, UNIQUE KEY (`id`));\n'