index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2017-06-20 16:16:39 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2017-06-20 16:16:39 +0200 |
commit | 98143c23a08fba04eee84667c1c9b8895dd65da8 (patch) | |
tree | 0d2ccf2db4677ac14cd9b3edee75441490dd5c32 /bin/db-update | |
parent | aeb6b8ae3ce6f573fc2b947366894abf7757e1f5 (diff) |
-rwxr-xr-x | bin/db-update | 4 |
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}" |