Use set -e to stop running as soon as we fail

This commit is contained in:
Francisco Blas (klondike) Izquierdo Riera 2014-11-25 09:10:22 +01:00
parent 3f2641595b
commit 5c5918a89d

View File

@ -1,6 +1,7 @@
#!/bin/sh #!/bin/sh
set -x set -x
set -e
export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)" export CFLAGS="$(dpkg-buildflags --get CFLAGS) $(dpkg-buildflags --get CPPFLAGS)"
export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed" export LDFLAGS="$(dpkg-buildflags --get LDFLAGS) -Wl,--as-needed"