diff options
author | Raphael <raphael@google.com> | 2011-02-01 12:51:24 -0800 |
---|---|---|
committer | Raphael Moll <ralf@android.com> | 2011-02-02 10:47:35 -0800 |
commit | 2a26b073831a1a80e68e60516270581982904cb2 (patch) | |
tree | 2eef0ec196101298420089871940b284fc0727e8 | |
parent | fe171a50cf5558d0232bbaa602d14d1b38b59edb (diff) | |
download | sdk-2a26b073831a1a80e68e60516270581982904cb2.zip sdk-2a26b073831a1a80e68e60516270581982904cb2.tar.gz sdk-2a26b073831a1a80e68e60516270581982904cb2.tar.bz2 |
SDK: fix win-sdk build errors, make future errors fatal.
Change the shell script to make any error fatal and actually
break the build, like it should.
Change-Id: Iee86b79c5b12a109ccb92dbc81d586c54ac68b5f
-rwxr-xr-x | build/patch_windows_sdk.sh | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/build/patch_windows_sdk.sh b/build/patch_windows_sdk.sh index bee15ce..2bbf24c 100755 --- a/build/patch_windows_sdk.sh +++ b/build/patch_windows_sdk.sh @@ -1,14 +1,18 @@ #!/bin/bash -# This file is included by development.git/tools/build/patch_windows_sdk.sh. +# This file is run by development/tools/build/windows_sdk.mk right +# after development.git/tools/build/patch_windows_sdk.sh. # Please see the details in the other file. +set -e # any error stops the build # Verbose by default. Use -q to make more silent. -V="-v" +V="" if [[ "$1" == "-q" ]]; then - V="" shift +else + echo "Win SDK: $0 $*" + set -x # show bash commands; no need for V=-v fi TEMP_SDK_DIR=$1 |