From 98143c23a08fba04eee84667c1c9b8895dd65da8 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 20 Jun 2017 16:16:39 +0200 Subject: use ramfs tmpdir again, update todo --- bin/db-update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/db-update b/bin/db-update index d3aa106..ffc530b 100755 --- a/bin/db-update +++ b/bin/db-update @@ -18,6 +18,8 @@ # be (even?) more atomic +# separate locks for staging, testing (and stable) + . "${0%/*}/../conf/default.conf" usage() { @@ -310,7 +312,7 @@ if ! flock ${block_flag} 8; then exit 1 fi -tmp_dir="$(mktemp -d "${work_dir}/tmpdir.XXXXXX")" +tmp_dir="$(mktemp -d)" clean_up_lock_file() { fusermount -u "${master_mirror_sshfs}" -- cgit v1.2.3-70-g09d2