From fab19580bfa7c6c5a0114332c255578ffb050eab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Adrien=20B=C3=A9raud?= <adrien.beraud@savoirfairelinux.com>
Date: Mon, 30 Nov 2020 12:22:24 -0500
Subject: [PATCH] swig: fail in case of command failure

Change-Id: I9fe9c38812a8a6b77c2a85ad356006ef953b7bc6
---
 bin/jni/make-swig.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/jni/make-swig.sh b/bin/jni/make-swig.sh
index c2a328f477..d1153cc7b8 100755
--- a/bin/jni/make-swig.sh
+++ b/bin/jni/make-swig.sh
@@ -17,6 +17,7 @@
 #
 #  You should have received a copy of the GNU General Public License
 #  along with this program. If not, see <https://www.gnu.org/licenses/>.
+set -e
 
 JNIDIR=`pwd`
 PACKAGE=cx.ring.daemon
-- 
GitLab