backend: use sensible lock filename for git
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
0065b98b57
commit
90aad09e47
|
@ -37,7 +37,7 @@ function run() {
|
|||
git push --set-upstream origin "${git_branch}"
|
||||
}
|
||||
|
||||
exec {lock_fd}>/var/lock/mylockfile || failed_to_get_lock
|
||||
exec {lock_fd}>/var/lock/spiff-workflow-git-lock || failed_to_get_lock
|
||||
flock --timeout 60 "${lock_fd}" || failed_to_get_lock
|
||||
run
|
||||
flock -u "${lock_fd}"
|
||||
|
|
Loading…
Reference in New Issue