Have build scripts fail on first failing command

This avoids spurious errors from trying to copy files that weren't built,
and mimics the behavior of other build systems
This commit is contained in:
ISSOtm 2020-07-20 14:58:18 +02:00
parent bf4bd3e07b
commit 66ee235209
3 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -e
# Default flags # Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release" CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -e
# Default flags # Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release" CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"

View File

@ -1,5 +1,7 @@
#!/bin/sh #!/bin/sh
set -e
# Default flags # Default flags
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release" CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"