diff options
Diffstat (limited to 'bin/db-update')
-rwxr-xr-x | bin/db-update | 4 |
1 files changed, 3 insertions, 1 deletions
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}" |