Add "set -e" to build.sh as suggested by Rintaro.

Change-Id: I75417b70c173138ec96b161faca6e09fc1b1c7f1
This commit is contained in:
Kongqun Yang 2013-10-31 09:30:12 -07:00 committed by KongQun Yang
parent 97e576787f
commit e82f0c00c1
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
# ninja -C out/Debug {Module} # Again, Module is optional. # ninja -C out/Debug {Module} # Again, Module is optional.
# ninja -C out/Release {Module} # Again, Module is optional. # ninja -C out/Release {Module} # Again, Module is optional.
set -e
function setup_packager_env() { function setup_packager_env() {
if [ $# -lt 1 ]; then if [ $# -lt 1 ]; then
local type="Debug" local type="Debug"