From 199f2e53b8409c7bf85deb711b088815362d423c Mon Sep 17 00:00:00 2001 From: Boris Nagaev Date: Wed, 13 Jan 2016 23:19:50 +0300 Subject: luarocks wrapper: exit with non-zero on failure --- plugins/luarocks/luarocks.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/luarocks/luarocks.mk b/plugins/luarocks/luarocks.mk index a852c37..9b942a6 100644 --- a/plugins/luarocks/luarocks.mk +++ b/plugins/luarocks/luarocks.mk @@ -41,6 +41,7 @@ define $(PKG)_BUILD_SHARED # see https://github.com/mxe/mxe/pull/1017#issuecomment-161557440 $(INSTALL) -d '$(PREFIX)/$(TARGET)/lib/luarocks' (echo '#!/usr/bin/env bash'; \ + echo 'set -ue'; \ echo 'echo "== Using MXE wrapper: $(PREFIX)/$(TARGET)/bin/luarocks"'; \ echo '# Creating a directory is an atomic operation, that is why'; \ echo '# it can be used as a mutex.'; \ -- cgit v0.12