diff options
author | Raphael <raphael@google.com> | 2011-02-01 12:51:24 -0800 |
---|---|---|
committer | Raphael <raphael@google.com> | 2011-02-01 12:51:24 -0800 |
commit | 729d89418821a6c61231ba26be7608c5952f9c30 (patch) | |
tree | 9f57e344178574539da0240da8c3d3f888e9f087 | |
parent | f3fa02c6e326fe1cb6c35788b3287b07e1ec2f3b (diff) | |
download | sdk-729d89418821a6c61231ba26be7608c5952f9c30.zip sdk-729d89418821a6c61231ba26be7608c5952f9c30.tar.gz sdk-729d89418821a6c61231ba26be7608c5952f9c30.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 |