luarocks: create the lock dir's parent

Source: https://github.com/mxe/mxe/pull/1017#issuecomment-162260698
pull/1017/head
Tony Theodore 9 years ago committed by Boris Nagaev
parent 51a6141cf9
commit e6f1f26114

@ -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'; \

Loading…
Cancel
Save