Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/db-update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/db-update')
-rwxr-xr-xbin/db-update4
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}"