Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-06-20 16:16:39 +0200
committerErich Eckner <git@eckner.net>2017-06-20 16:16:39 +0200
commit98143c23a08fba04eee84667c1c9b8895dd65da8 (patch)
tree0d2ccf2db4677ac14cd9b3edee75441490dd5c32
parentaeb6b8ae3ce6f573fc2b947366894abf7757e1f5 (diff)
use ramfs tmpdir again, update todo
-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}"