Fail api.sh in case of any error
Whenever an error occurs in the api.sh script we want the script to end and propagate the error upstream to whoever was invoking it. This would allow the use inside a continuous integration system and properly detect and notify failed or incomplete builds. Change-Id: If64853d9c876e7f013bb96bcb911a6492d1a6ce6
This commit is contained in:
parent
270e105f88
commit
72508659c8
|
@ -1,4 +1,4 @@
|
|||
#!/bin/bash
|
||||
#!/bin/bash -e
|
||||
|
||||
# Copyright (C) 2015 The Android Open Source Project
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue