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 committed by Cas Cremers
parent 4b880f904f
commit 85ee989b5f
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"