summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/db-update b/bin/db-update
index 07da1f9..e1e785a 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -396,7 +396,7 @@ if ! flock ${block_flag} 8; then
exit 1
fi
-tmp_dir="$(mktemp -d)"
+tmp_dir="$(mktemp -d "${work_dir}/tmp.XXXXXX")"
clean_up_lock_file() {
rm -f "${package_database_lock_file}" "${build_list_lock_file}"