mirror of
https://git.jami.net/savoirfairelinux/jami-daemon.git
synced 2025-08-07 22:02:12 +08:00
contrib: fix build without flock
Change-Id: I274ed5b9b6f97b06e7a355b941f81f86c7816c24
This commit is contained in:

committed by
Sébastien Blin

parent
3466f1a2af
commit
9c74ea2cbb
@ -352,7 +352,7 @@ HOSTVARS := $(HOSTTOOLS) \
|
||||
ifeq ($(DISABLE_CONTRIB_DOWNLOADS),TRUE)
|
||||
download_git = $(error Trying to clone $(1) but DISABLE_CONTRIB_DOWNLOADS is TRUE, aborting.)
|
||||
else
|
||||
download_git = flock "$@.lock" sh -c "\
|
||||
download_git = $(FLOCK_PREFIX) sh -c "\
|
||||
rm -Rf '$(@:.tar.xz=)' && \
|
||||
$(GIT) clone $(2:%=--branch '%') '$(1)' '$(@:.tar.xz=)' && \
|
||||
(cd '$(@:.tar.xz=)' && $(GIT) checkout $(3:%= '%')) && \
|
||||
|
Reference in New Issue
Block a user