mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-04 22:23:56 +00:00
backend: use sensible lock filename for git
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1bbf3a264c
commit
56a913e33c
@ -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…
x
Reference in New Issue
Block a user