mirror of
https://gitlab.alpinelinux.org/alpine/abuild.git
synced 2025-01-25 08:44:05 +00:00
abuild: busybox flock does not support -w
This commit is contained in:
parent
01bab6e26d
commit
761472d96b
@ -280,7 +280,7 @@ uri_fetch() {
|
|||||||
CLEANUP_FILES="$CLEANUP_FILES $lockfile"
|
CLEANUP_FILES="$CLEANUP_FILES $lockfile"
|
||||||
(
|
(
|
||||||
flock -n -x 200 || msg "Waiting for ${lockfile##*/}..."
|
flock -n -x 200 || msg "Waiting for ${lockfile##*/}..."
|
||||||
flock -w 600 -x 200
|
flock -x 200
|
||||||
|
|
||||||
[ -f "$SRCDEST/$d" ] && exit 0 # use exit since its a subshell
|
[ -f "$SRCDEST/$d" ] && exit 0 # use exit since its a subshell
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user