abuild: busybox flock does not support -w

This commit is contained in:
Natanael Copa 2012-01-20 10:38:30 +01:00
parent 01bab6e26d
commit 761472d96b
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ uri_fetch() {
CLEANUP_FILES="$CLEANUP_FILES $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