From e6f1f261149cb27b79344f6c7eb7a14737f11d88 Mon Sep 17 00:00:00 2001 From: Tony Theodore Date: Sun, 6 Dec 2015 04:25:29 +0300 Subject: luarocks: create the lock dir's parent Source: https://github.com/mxe/mxe/pull/1017#issuecomment-162260698 --- plugins/luarocks/luarocks.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk index 10131ee..a852c37 100644 --- a/plugins/luarocks/luarocks.mk +++ b/plugins/luarocks/luarocks.mk @@ -39,6 +39,7 @@ define $(PKG)_BUILD_SHARED # create bash wrapper adding inter-process mutex # see https://github.com/mxe/mxe/pull/1017#issuecomment-161557440 + $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/luarocks' (echo '#!/usr/bin/env bash'; \ echo 'echo "== Using MXE wrapper: $(PREFIX)/$(TARGET)/bin/luarocks"'; \ echo '# Creating a directory is an atomic operation, that is why'; \ -- cgit v0.12