Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/db-update2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/db-update b/bin/db-update
index 129a89d..5b0d56f 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -123,6 +123,8 @@ fi
tmp_dir=$(mktemp -d "${work_dir}/tmp.db-update.XXXXXXXXXX")
trap 'rm -rf --one-file-system "${tmp_dir}"' EXIT
+export TMPDIR="${tmp_dir}"
+
for source_stability in 'testing' 'staging'; do
find "${tmp_dir}" -mindepth 1 -delete