From 5c5918a89d1c40a89e562e591f4be56a65e79797 Mon Sep 17 00:00:00 2001 From: "Francisco Blas (klondike) Izquierdo Riera" Date: Tue, 25 Nov 2014 09:10:22 +0100 Subject: [PATCH] Use set -e to stop running as soon as we fail --- autotest/travis/build-and-test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/autotest/travis/build-and-test.sh b/autotest/travis/build-and-test.sh index b3a0bca..7c8477f 100755 --- a/autotest/travis/build-and-test.sh +++ b/autotest/travis/build-and-test.sh @@ -1,6 +1,7 @@ #!/bin/sh set -x +set -e export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)" export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"