aboutsummaryrefslogtreecommitdiffstats
path: root/core/deps.mk
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-27 13:54:24 +0100
committerLoïc Hoguin <[email protected]>2018-11-27 13:54:24 +0100
commit933a967c0f99e3d201696c1a93335d119df23d3f (patch)
treea739ffd00a0cf016151d640f6860667c0f8513dc /core/deps.mk
parent8d0bf3b30b602b7f81f8d4749c5137440310e51f (diff)
downloaderlang.mk-933a967c0f99e3d201696c1a93335d119df23d3f.tar.gz
erlang.mk-933a967c0f99e3d201696c1a93335d119df23d3f.tar.bz2
erlang.mk-933a967c0f99e3d201696c1a93335d119df23d3f.zip
Don't use the non-portable flock -c, use flock sh -c
Diffstat (limited to 'core/deps.mk')
-rw-r--r--core/deps.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/deps.mk b/core/deps.mk
index 4695912..7df8b51 100644
--- a/core/deps.mk
+++ b/core/deps.mk
@@ -202,7 +202,7 @@ endef
define dep_autopatch_fetch_rebar
mkdir -p $(ERLANG_MK_TMP); \
if command -v flock >/dev/null; then \
- flock $(ERLANG_MK_TMP)/rebar.lock -c "$(call dep_autopatch_fetch_rebar2)"; \
+ flock $(ERLANG_MK_TMP)/rebar.lock sh -c "$(call dep_autopatch_fetch_rebar2)"; \
elif command -v lockf >/dev/null; then \
lockf $(ERLANG_MK_TMP)/rebar.lock sh -c "$(call dep_autopatch_fetch_rebar2)"; \
else \