diff options
author | Michael Hutchinson <mhutch@xamarin.com> | 2013-02-11 02:22:09 +0400 |
---|---|---|
committer | Michael Hutchinson <mhutch@xamarin.com> | 2013-02-11 02:23:06 +0400 |
commit | 80b29d25c1cacffaa906f82541961226543beca2 (patch) | |
tree | 7be304d8b580418a9f3e22cab3186404c48e6eb7 /main/winbuild.sh | |
parent | e435d92309546c7f1e8dac2d1cd403bf11499aa2 (diff) |
[build] Abort Win32 build if submodule update fails
Diffstat (limited to 'main/winbuild.sh')
-rw-r--r-- | main/winbuild.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/winbuild.sh b/main/winbuild.sh index f4899ae81e..00512b193e 100644 --- a/main/winbuild.sh +++ b/main/winbuild.sh @@ -1,3 +1,3 @@ export PATH="/c/Windows/Microsoft.NET/Framework/v4.0.30319:$PATH"
-pushd ..; git submodule init; git submodule update; popd
+pushd ..; git submodule init && git submodule update || exit 1; popd
MSBuild.exe Main.sln -p:Configuration=DebugWin32 -p:Platform=x86 $*
|