diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2016-01-13 20:19:50 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2016-01-13 20:27:07 (GMT) |
commit | 199f2e53b8409c7bf85deb711b088815362d423c (patch) | |
tree | 48a4560f8b4861b4875d46b7df667214b2a4a898 /plugins/luarocks | |
parent | 19e3cf15cb7e0f84af14ccc7ba74db34c91ccc12 (diff) | |
download | mxe-199f2e53b8409c7bf85deb711b088815362d423c.zip mxe-199f2e53b8409c7bf85deb711b088815362d423c.tar.gz mxe-199f2e53b8409c7bf85deb711b088815362d423c.tar.bz2 |
luarocks wrapper: exit with non-zero on failure
Diffstat (limited to 'plugins/luarocks')
-rw-r--r-- | plugins/luarocks/luarocks.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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.'; \ |