From 38546fab75d75d7bbb04b74f8d8604ebe12a0258 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 15 Apr 2018 16:28:49 +0200 Subject: bin/copy-to-build-support bin/delete-packages bin/return-assignment: set TMPDIR out of tmpfs, so repo-* won't run out of space --- bin/delete-packages | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin/delete-packages') 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' -- cgit v1.2.3-70-g09d2