summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-20 11:01:04 +0200
committerErich Eckner <git@eckner.net>2017-06-20 11:01:04 +0200
commit2625a975200289d3705475ccdfa6d87882b4b971 (patch)
treeeefb2768f368b02f5d0cc2ba22e0ecdfec8f0b62 /bin/db-update
parent93a52f30029e0943187baf10f04a7bf4b0560d29 (diff)
downloadbuilder-2625a975200289d3705475ccdfa6d87882b4b971.tar.xz
bin/db-update: use non-ramfs temp dir
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 e37f19f..377691e 100755
--- a/bin/db-update
+++ b/bin/db-update
@@ -231,7 +231,7 @@ if ! flock ${block_flag} 8; then
exit 1
fi
-tmp_dir="$(mktemp -d)"
+tmp_dir="$(mktemp -d "${work_dir}/tmpdir.XXXXXX")"
clean_up_lock_file() {
rm -f "${package_database_lock_file}" "${build_list_lock_file}"